Hi all,
We have written a C # .NET application and we're
encountering memory problems in the form of
System.OutOfMemoryException.
Our application creates many thousands of objects in a
temporary in memory store, which uses a lot of runtime
memory. Not an ideal situation, but an acceptable short
term solution given our project constraints.
This works well for almost all size data inputs to the
software. However, on the very largest input datasets the
number of objects in the temporary store pushes the amount
of memory used on our test machine to it's physical limit.
After this point we would expect it to go into virtual
memory, but instead a System.OutOfMemoryException is
thrown, even though there is 4Gb of virtual memory
available. Other programs, such as Notepad, can use all
the virtual memory should they need to.
There should be no contention for virtual memory as the
software is running from an 'exe' on the c: drive and all
of our paging is on a separate dedicated disk (the d:
drive).
Can anyone suggest a way of ensuring that our .NET
application can access virtual/paging memory?
many thanks,
Peter