A
ASP.Confused
How would I go about detecting a memory leak? My web hosting provider has
our site set up to only have a root "bin" folder for .NET apps, and I would
like to be able to watch how much memory is being allocated for the entire
site (since the site acts as one big application.) Is there anyway to do
this through code?
The reason I ask is because occasionally, our site will start having session
state loss. After a day or two, it goes back to normal. My session
timeouts are 20 minutes, and I try to make sure that I properly
destroy/deallocate my variables (I also use GC.Collect heavily in my apps to
catch anything that I didn't notice.)
our site set up to only have a root "bin" folder for .NET apps, and I would
like to be able to watch how much memory is being allocated for the entire
site (since the site acts as one big application.) Is there anyway to do
this through code?
The reason I ask is because occasionally, our site will start having session
state loss. After a day or two, it goes back to normal. My session
timeouts are 20 minutes, and I try to make sure that I properly
destroy/deallocate my variables (I also use GC.Collect heavily in my apps to
catch anything that I didn't notice.)