C
Chetan Raj
Hi All,
We have a web-application in asp.net that interacts with legacy code
written in COM. The memory usage in aspnet_wp.exe increases every sec
and never reduces. Using the .NET performance counters, we found that
unmanaged memory was 90% of the total private bytes of aspnet_wp.exe.
We suspected that the COM code has memory leaks. So we made it as a
COM+ Service running as dllhost.exe. Surprisingly, there was no memory
increase in the DllHost.exe of this COM service, but aspnet_wp.exe's
memory was still shooting up. Again thru Performance counters we found
that unmanaged memory was taking around 80% of the total private bytes
of aspnet_wp.exe.
Now, can anyone help us in knowing the cause for the memory shoot up?
How to detect, which part of the code is responsible for the memory
increase? And what is holding on to the memory?
Thanking in advance for any help,
Chetan Raj
We have a web-application in asp.net that interacts with legacy code
written in COM. The memory usage in aspnet_wp.exe increases every sec
and never reduces. Using the .NET performance counters, we found that
unmanaged memory was 90% of the total private bytes of aspnet_wp.exe.
We suspected that the COM code has memory leaks. So we made it as a
COM+ Service running as dllhost.exe. Surprisingly, there was no memory
increase in the DllHost.exe of this COM service, but aspnet_wp.exe's
memory was still shooting up. Again thru Performance counters we found
that unmanaged memory was taking around 80% of the total private bytes
of aspnet_wp.exe.
Now, can anyone help us in knowing the cause for the memory shoot up?
How to detect, which part of the code is responsible for the memory
increase? And what is holding on to the memory?
Thanking in advance for any help,
Chetan Raj