Home All Groups Group Topic Archive Search About

Exception of type System.OutOfMemoryException was thrown.

Author
24 Feb 2006 3:35 AM
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?

Author
24 Feb 2006 7:35 AM
Vadym Stetsyak
Hello, Daniel!

D> Exception of type System.OutOfMemoryException was thrown.

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

Where that exception was thrown? what code was executing? Can you be more specific?
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
24 Feb 2006 8:20 AM
Nick Hounsome
"Daniel" <softwareengineer98***@yahoo.com> wrote in message
news:%23oXg%23LPOGHA.2628@TK2MSFTNGP15.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?

I'm not claiming to be authoritative here but I think you will find that the
runtime has a self-imposed memory restriction which can be altered from the
config file.

It really has to be this way to be a responsible program and also to have
any chance of actually handling the exception.

AddThis Social Bookmark Button