Exception of type System.OutOfMemoryException was thrown.

  • Thread starter Thread starter Daniel
  • Start date Start date
D

Daniel

Exception of type System.OutOfMemoryException was thrown.

this error is occuring when on arbitrary threads in my .net windows service.
There is 2 gigs of memory on the machine and this .net windows service only
uses 50 megabytes. What could be causing this? how to fix?
 
Daniel said:
Exception of type System.OutOfMemoryException was thrown.

this error is occuring when on arbitrary threads in my .net windows service.
There is 2 gigs of memory on the machine and this .net windows service only
uses 50 megabytes. What could be causing this? how to fix?

This exception is unfortunately thrown when no more handles can be
allocated, if I remember correctly. Check you're disposing of
everything correctly, particularly UI components.
 
Back
Top