purplesoup
asked on
ASP.NET Memory Leak
We've got an IIS memory leak on Windows Server 2008 R2 64-bit.
The memory usage climbs steadily to 3 GB.
I've used the ANTS memory profiler to see what is happening and have a lot of memory held by _TimerCallback where System.Threading.TimerCall back calls System.Web.Caching.CacheEx pires.
We're not aware of any specific caching code in the app, so this seems to be something IIS is doing.
Can anyone suggest what the cause might be?
The memory usage climbs steadily to 3 GB.
I've used the ANTS memory profiler to see what is happening and have a lot of memory held by _TimerCallback where System.Threading.TimerCall
We're not aware of any specific caching code in the app, so this seems to be something IIS is doing.
Can anyone suggest what the cause might be?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Well the only code I could fine with timercallback was log4net - I can try turning it off. Anyone know how to do that? This is what I found and is what I'm going to try:
http://logging.apache.org/log4net/release/faq.html
How do I completely disable all logging at runtime?
Setting the Threshold on the Hierarchy to Level OFF will disable all logging from that Hierarchy. This can be done in the log4net configuration file by setting the "threshold" attribute on the log4net configuration element to "OFF". For example:
<log4net threshold="OFF" />
http://logging.apache.org/log4net/release/faq.html
How do I completely disable all logging at runtime?
Setting the Threshold on the Hierarchy to Level OFF will disable all logging from that Hierarchy. This can be done in the log4net configuration file by setting the "threshold" attribute on the log4net configuration element to "OFF". For example:
<log4net threshold="OFF" />
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The thing is - this is a huge app - I need to have something more specific to look for - in particular I don't understand why the main classes left in memory appear to have come from this callback to System.Web.Caching.CacheEx