This should be all handled by the MS .Net framework. IT extrapolates the allotting of memory away from the app dev to the MS frameworks engineers, who frankly would do a better job than I ever would. I doubt the problem is there end.it's the RAM allocated towards the software.
This is suggested, but the program is not trying to allocate a bit block of memory at all. Or shouldn't do.You don't have a continuous block of memory in order to allocate
When you run the program, are you running HEAVILY multi threaded? 100s of processor threads all multi threaded?