Browse by Tags

Creating Strings - A Case Study
I recently worked an issue with a customer who was experiencing high CPU. Performance Monitor data showed that the % of Time in GC was 46%. We generally recommend that you not be in GC more than 5% of the time, so this was a point of interest. One of Read More...
Posted 11 December 07 01:45 by jamesche | 2 Comments   
Filed under
Getting to the Root Cause of SqlExceptions
It's pretty common for me to work cases where something bad happens when an ASP.NET application is accessing a database. The nature of my job dictates that troubleshooting on these applications is most often performed in a production environment via post Read More...
Posted 28 February 07 05:18 by jamesche | 1 Comments   
Filed under ,
Generating a Dump In Your Code Using DebugBreak
There are many issues that pop up that really require a user mode dump in order to successfully diagnose root cause. I will occasionally visit the ASP.NET newsgroups, and when I do, I read only those posts with a subject that interests me. I find that Read More...
Posted 12 April 06 12:29 by jamesche | 0 Comments   
Filed under
Out of memory! Are you nuts!?
I may have said this before (my memory's not what it was prior to decade number 4), but the most common issues I debug are memory issues. These range from high memory issues (categorized as 800MB of more memory in use by the worker process) to OutOfMemory Read More...
Posted 20 January 06 06:00 by jamesche | 8 Comments   
Filed under
Getting the PID and TID of a COM Call
There are times when I may be debugging a latency issue that involves a COM component running in a dllhost process. Depending on where we are in that process, I may need to debug the dllhost process in addition to the aspnet_wp or w3wp process. So how Read More...
Posted 30 December 05 01:40 by jamesche | 0 Comments   
Filed under
Digging Into Objects
One of our engineers asked me yesterday about getting the total size for objects in memory. The debugger is adept at doing such things, but you have to understand how object sizes are interpreted. Let me start by giving you some background on how I'll Read More...
Posted 22 December 05 03:30 by jamesche | 6 Comments   
Filed under
Are you in GC?
When you're debugging, you're really just looking into internal memory structures in a process. When it comes to debugging an ASP.NET application, you are oftentimes dumping out method tables, objects, etc. The ability to do so requires a known address. Read More...
Posted 20 December 05 11:49 by jamesche | 2 Comments   
Filed under
Clarifications on Debugging
When I'm talking to ASP.NET developers who are experiencing memory issues, crashes, hangs, etc., I will often say, "Hook up the debugger and see what's going on." More often than not, the response that I get from that recommendation is one of confusion. Read More...
Posted 20 December 05 09:46 by jamesche | 3 Comments   
Filed under

Search

This Blog

Syndication

Page view tracker