Browse by Tags

POP QUIZ: What’s wrong with this code – part 3
Imagine you are a developer and your boss comes to you complaining that your piece of code has been deemed to be taking up too much memory and causing problems for the application.  You take a look at your code and you see the following, assume that Read More...
High Memory part 6 – Fragmentation revisited
I have talked about a bunch of commands used to troubleshoot a managed memory problem in the past and given some situations of using them like: High memory, CPU, or other performance problems with .NET High Memory continued - Datatables High Memory part Read More...
How do you test the performance of your web site?
I wanted to get a feel for what tools people are using to test the performance of their website.  My questions are: Do you check page-load times?  Do you dig in to see which files are taking the time How do you track down a page that uses a Read More...
ASP.NET Tips: Finding what is taking up memory
There are some times that you want to figure out what is taking up your memory.  There are a few ways that you can do this and some limitations put on this by .NET and ASP.NET. Memory in a dump file If you are looking at a dump file, the first thing Read More...
ASP.NET and Performance
I wanted to talk about monitoring performance in ASP.NET for a bit.  I have already posted a few postings that talk around this issue, namely: ASP.NET Debugging - High Memory part 5 – Fragmentation ASP.NET Debugging - ASP.NET Tips- How to use DebugDiag Read More...
ASP.NET Tips: What to gather to troubleshoot
So now that I am done with all the individual posts, I thought I would wrap them all together.  So here are all of the posts that I created on gathering information when you are having a problem. Please keep in mind that these are geared towards Read More...
ASP.NET Tips: What to gather to troubleshoot - part 6 - Recycle due to memoryLimit
Here is another situation that you may come across and what to do in order to gather information about it. The following steps will configure DebugDiag to automatically capture a memory dump of the ASPNET_WP.exe process recycling when it exceeds the memoryLimit.  Read More...
ASP.NET Tips: What to gather to troubleshoot - part 5 - OutOfMemoryException
So we already talked about what to gather when you are experiencing high memory .  But what if you are actually getting a System.OutOfMemoryException?  Here is how you capture a dump at the time you are running out of memory. The following steps Read More...
ASP.NET Tips: What to gather to troubleshoot – part 2 – High Memory
Identifying a Memory leak A Memory Leak in an IIS process (INETINFO.EXE, DLLHOST.EXE, W3WP.EXE) occurs when Memory Usage in Task Manager continues to consume more than 50% of the physical RAM until running out of system memory or until the process stops Read More...
Understanding when to use a Finalizer in your .NET class
A common problem we see when moving to .NET all revolves around the finalizer.  There are a few reasons that this happens: Developers move from C/C++ to C# and are used to created classes with a constructor and destructor. Developers don’t understand Read More...
ASP.NET Tips: How to identify a COM call that is blocking GC, causing a memory leak
Problem Description So this is a customer situation we found were the customer was getting an System.OutOfMemoryException.  We were able to reproduce this with a console application that just ran: For Iterator = 0 To 99999999999 Regex.IsMatch(CONNECTION_STRING, Read More...
Chat Question: What extension to use in what situation
So we have a bunch of debugger extensions that we need to use depending on the situation.  So here are the extensions that can depend on various situations and when to use which.  The first thing to decide is to load the right DLL for the Framework Read More...
Posted 18 April 08 11:34 by Tom | 5 Comments   
Filed under , , ,
Chat Question: Memory Limits for 32-bit and 64-bit processes
During our recent blog chat, there were a number of topics that were asked about and I am going to expand on some of them.  The first one is the memory limits for different processes. This really depends on a few different things.  The architecture Read More...
GDI+ (GdiPlus) and ASP.NET
So we occasionally see customers that are either using System.Drawing themselves in their ASP.NET application or are using controls (like charting controls) that use it. Under most circumstances, this works just fine.  But there are times where it Read More...
Posted 19 March 08 12:31 by Tom | 10 Comments   
Filed under , ,
High Memory part 5 - Fragmentation
So in our previous High Memory posts, we have talked about situations that are all causes of memory to appear high when looking at the process in Task Manager or Perfmon. But in most situations, you aren't going to be monitoring these tools. So the way Read More...
More Posts Next page »

Search

This Blog

Syndication

Page view tracker