Memory Leak Unmanaged Code

G

Guest

Hi,

1. When I use perfmon to monitor the asp.net application, I see private
bytes increase consitently.

2. .NET CLR Exceptions /sec is 5.0+ .. and #Excep thrown is about 15000
per hour.. Does this make sense ?

3. Both private bytes and virtual bytes increase slowly and consistently
and though I have plenty of memory left in physical memory, it throws up
OutOfMemory Exception and recycles. System doesn't run more than 6 Hours.

4. Few pages use MS Word and 3rd Party COM DLLs.. Could this be a cause.
Should I try with ReleaseComObject method ?

Machine Configuration :

Win2k Server, 4 GB RAM, Pentium III 1.4 GHz * 2, IIS 5.0

Thanks,
Mani.
 
G

Girish bharadwaj

The one issues that I have found with interop objects in ASP.NET is that you
have to do ReleaseComObject() on all of them religiously. Otherwise, things
seem to get sour real quick. Depending on how you are using interop you
might even need to do some overrides of ExtensibleClassFactory.. (depends
though).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top