views:

36

answers:

3

I hosted my application in production. Within 5 to 6 hours the application pool spikes and uses more memory?

What application objects or system objects are stored in the application pool?

A: 

If you are looking for memory leaks, try downloading the trial version of MemProfiler (or one of the other products available).

Mitch Wheat
+2  A: 

An application pool is a worker process spawned by IIS to host one or more applications. The memory raise behavior you are observing could be due to various reasons such as objects that hold unmanaged resources not being disposed properly, storing large objects in the application state, ... You could use a profiler to find the exact cause.

Darin Dimitrov
A: 

In addition to the answers by Mitch and Darin, I'd also recommend taking a look at Tess Ferrandez's excellent blog which deals with issues such as memory/use leaks:

.NET Debugging Demos Lab 3: Memory
.NET Debugging Demos Lab 6: Memory Leak
.NET Debugging Demos Lab 7: Memory Leak

Kev