Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

monitor memory leakage

Any suggestion how to monitor the memory consumption/leakage of .NET application? I would like to monitor each form as we are developing windows application. Is there any Microsoft provided ready-made(ie free!!) tool available?

Friday, May 30, 2003

To monitor memory *usage*: Start > Run > type "perfmon", Enter (or go to shortcut in Admin Tools)

Click the Plus button and choose ".NET CLR Memory" from Performance Object  and choose your counters and click Add.

Doesn't work on a per form basis though.

Duncan Smart
Friday, May 30, 2003

Inspect and Optimize Your Program's Memory Usage with the .NET Profiler API

Guy Incognito
Saturday, May 31, 2003

I thought there was a similar free program offered by Microsoft available, but I cannot find the link at the moment.

I could swear I've used the tool in the past, but I can't remember where I downloaded it from!

Guy Incognito
Saturday, May 31, 2003

Whoops, I think I was thinking of this tool...

It's primary function is for profiling the .NET garbage collector (which is still a useful function).

Guy Incognito
Saturday, May 31, 2003

*  Recent Topics

*  Fog Creek Home