Creating dumps with Windbg and writing ADPlus Config files

My colleague Carlo just wrote a post on how to create dumps and how to configure ADPlus with config files, that I thought was really useful He also talks a little about DebugDiag, a tool for creating dumps and doing automated dump analysis for certain cases.  Btw, the dumps you generate with debug diag…


I’m presenting at Oredev in Malmo, Sweden Nov 13th-15th

Nov 13th-15th I will be presenting at Oredev in Malmö, Sweden.  Oredev is a tech conference and this year it looks really promising considering all the big names they have brought in to present. I will be doing a presentation on Common issues in ASP.NET production environments.  It will basically be a presentation on things to avoid in order to…


Debugging Script: Dumping out ASP.NET Session Contents

In my last post I wrote a script to dump out all the ASP.NET requests on the heap.  Since one of the most common memory issues I encounter is too much cache or session state I figured that showing you how to retreive session data would be good. A word of caution, since this script uses…


Debugging Script: Dumping out current and recent ASP.NET Requests

When you debug applications it is often useful to find out which requests are currently executing, how long they have been executing, what the querystring was etc. Since getting this information from a dump can be a long and tedious process even if you know what you are doing, it lends itself extremely well…


ASP.NET Hang scenario: Kernel Debugging for Dummies

A local radio show has started giving out cookie points to their interviewees for personal development, and the other day my coworker decided to give me one for debugging a perf issue in kernel-mode…  YAY!!! Having debugging as a profession, you might have thought that I would have done a lot of kernel debugging, but…


An attempt to improve the blog quality

Courtesy of my pals on I have added a chance to give post feedback, by adding a survey at the bottom of my case studies. The survey is an anonymous “yes” or “no” click and I’ll use it to figure out what type of posts and topics are most useful so if you read a post that…


ASP.NET Hang Case Study: Application hangs on startup

Recently we have been getting quite a few similar hangs in ASP.NET.  From the first look they really aren’t all that similar but when we get down to the nitty-gritty we see that they all hang or rather have a very high latency, in the exact same location. Problem description: On startup, the first request…


ASP.NET Memory Investigation

This is a bit of a continuation of ASP.NET Memory Issue: High memory usage in a 64bit w3wp.exe process so if you haven’t checked it out you might want to just glance over it before reading this one to get the context of the problem and some notes on 64 bit debugging. Before I go into the…


More reading material

I want to try to keep this blog free of link-listings and just publish my own case studies etc. but when I come across something like these articles by Rahul Soni, I can’t help but share them The infamous debug=true attribute Post Production Debugging for ASP.NET Applications – Part 1Enjoy, Tess


ASP.NET Memory Issue: High memory usage in a 64bit w3wp.exe process

By default when you run IIS on a 64-bit machine you will still be running a 32-bit w3wp.exe, so apart from a few differences, like being able to use 4 GB virtual bytes instead of 2 GB virtual bytes the difference in debugging an issue on 32-bit vs. 64-bit is not that big.  You will still…