URGENT: OutofMemoryException.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Whenever our ASP.Net application starts it consumes 40 MB memory (this
reading are
from Task manager of aspnet_wp.exe) this keeps on growing. At very fast
rate. Every page hit increases the memory by 1 to 2 MB.
When it is tested on more users environment, the memory usage increases upto
1 GB and application gets crashed.
Is there any way to identify why so much of memory an application consumes
at start up. It give the error "OutofMemoryException".. HELP ASAP.
 
There was a leak in 1.0, connected to the permissions object - it was
corrected in 1.1. I cant recall any other leaks though thats not to say
there are none..........although I've not seen any in my own apps.

Have a read of this and see if it applies.

http://support.microsoft.com/default.aspx?scid=kb;en-us;327256

Also, you can get a 14 day eval of a .NET leak detector here that might help
you track it down.

http://memprofiler.com/

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Back
Top