Home All Groups Group Topic Archive Search About

Urgent: Outofmemoryexception.

Author
10 Jun 2005 7:16 PM
Mahesh D. Rane
Whenever our 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.   Error : Outofmemoryexception in aps.net pages.

Author
10 Jun 2005 10:51 PM
Ken Cox [Microsoft MVP]
You might want to look at this article which describes the causes of memory
leaks. Using string concatenation is a prime suspect. Is anti-virus software
getting in the way as well?

http://msdn.microsoft.com/msdntv/transcripts/20031023ASPNETEOTranscript.aspx


Also, here's an article on monitoring performance:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmonitoringaspnetapplicationperformance.asp


Show quoteHide quote
"Mahesh D. Rane" <MaheshDR***@discussions.microsoft.com> wrote in message
news:0AA576F5-48AB-4241-87DA-C9D182D349BF@microsoft.com...
> Whenever our 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.   Error : Outofmemoryexception in aps.net pages.
>

Bookmark and Share