If broken it is, fix it you should

Using the powers of the debugger to solve the problems of the world - and a bag of chips    by Tess Ferrandez, ASP.NET Escalation Engineer (Microsoft)

August, 2006

Posts
  • If broken it is, fix it you should

    ASP.NET Quiz Answers: Does Page.Cache leak memory?

    • 14 Comments
    A few days ago I posted a question I had gotten on email (look here for complete post): " We use Page.Cache to store temporary data, but we have recently discovered that it causes high memory consumption. The bad thing is that the memory never goes down even though the cache items have expired, and we suspect a possible memory leak in its implementation. We have created this simple page: protected void Page_Load(object sender, EventArgs e){ this.Page.Cache.Add(Guid.NewGuid().ToString...
  • If broken it is, fix it you should

    ASP.NET Quiz - Does Page.Cache leak memory?

    • 30 Comments
    Yesterday I received an email from a blog reader about caching and memory leaks… Paraphrasing freely it went something like this: We use Page.Cache to store temporary data, but we have recently discovered that it causes high memory consumption. The bad thing is that the memory never goes down even though the cache items have expired, and we suspect a possible memory leak in its implementation. We have created this simple page: protected void Page_Load( object sender, EventArgs...
  • If broken it is, fix it you should

    ASP.NET Case Study: Lost session variables and appdomain recycles

    • 107 Comments
    Last night I got a question from one of the readers of the blog that went like this: “We are facing a problem that i cannot understand, every now and than i see that my app domain is recycled (i have a log in the application_end), I check the IIS logs and i don't see a restart of IIS and i know that no one is changing configuration (web.config). I wanted to know if you know of any way that i can pinpoint the reason for that app domain to die? The application pool that i am using...
Page 1 of 1 (3 items)