My asp .net application crashes atleast once in a day.. throwing
OutOfMemoryException.. Server was running without when it had only 2
GB. It started throwing OutOfMemory exceptions when RAM was upgrated as
3 GB. This happened twice in a week. Again we did an upgrade in ram and
now the size is 4 GB, ASPNET Worker process throws up exception once in
a day.
Does anyone have any idea on this ?
Thanks,
Mani.
Yes, you're actually getting the errors because you have too *much* physical
ram. Processes can only address up to 2gb of ram (and they'll through out or
mem errors around 1.6-1.8), so your default config with 3-4gb of ram will
give you out of mem errors for ASP.NET.
You can set memory limits for your app pool, enable /3gb switch, and/or
reduce the memoryLimit value in machine.config.
Sorry for the brief synopsis, but go here for more info
http://www.developmentnow.com/blog/2004/09/systemoutofmemoryexception-with-aspne
t.html

Signature
Ben Strackany
www.developmentnow.com
<a href="http://www.developmentnow.com">dn</a>
> My asp .net application crashes atleast once in a day.. throwing
> OutOfMemoryException.. Server was running without when it had only 2
[quoted text clipped - 7 lines]
> Thanks,
> Mani.