Ramesh
Ramesh

Reputation: 1752

Why is my application pool having memory usage spikes?

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?

Upvotes: 1

Views: 783

Answers (3)

Kev
Kev

Reputation: 119806

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

Upvotes: 0

Mitch Wheat
Mitch Wheat

Reputation: 300549

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

Upvotes: 0

Darin Dimitrov
Darin Dimitrov

Reputation: 1038780

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.

Upvotes: 2

Related Questions