Daniel,
I've seen OutOfMemory exceptions thrown when the problem is completely
different. For example Graphics.DrawLine throws this exception and obviously
there is no memory issue. I'd suggest to debug the code and find out what
the real reason for that might be.
"Daniel" <so*******************@yahoo.com> wrote in message
news:Os**************@TK2MSFTNGP10.phx.gbl...
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?