That means you are consuming more memory than there is available. The reason
can be a bug in your code, or simply a design error.
A bug can be not disposing unmanaged resources, but there might be other
reasons.
A design error can be allocating too large data structures (arrays,
ArrayLists ...).
Anyway, what you should do is measure the memory consumption at run-time
using permon.exe, pay special attention to GC memory and non-GC memory, that
are the CLR memory counters and the process private byte counters.
Willy.
"Dan Pavel" <my**************@yahoo.com> wrote in message
news:uM**************@TK2MSFTNGP12.phx.gbl...
Hi,
I have an C# application and after about 12 hours it hangs with a .NET
Error System.OutOfMemoryException. This error is received after
GC.GetTotalMemory: 100038436 and in task manager the used memory is
about 130,000k.
I used GC.Collect but did not help. Please help.
Thanks in advance
Dan
*** Sent via Developersdex http://www.developersdex.com ***