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?

RAM
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

http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/01/netprofilerapi/toc.asp

Guy Incognito
Saturday, May 31, 2003

http://www.scitech.se/memprofiler/

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...

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=36a3e666-6877-4c26-b62d-bfd7cb3154ac

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