There's a great freeware tool on gotdotnet: http://www.gotdotnet.com/userfiles/MaheshP/AllocationProfiler.zip
Pierre ----------------------------------------------- Pierre Greborio [EMAIL PROTECTED] http://www.pierregreborio.it ----------------------------------------------- -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of David Ferguson Sent: Saturday, May 25, 2002 10:31 PM To: [EMAIL PROTECTED] Subject: [DOTNET] How much memory used? How much memory used? Is there anyway to see how much memory an instance of class is using? I am thinking along the lines of some performance counter that I could monitor. By taking a snapshot just before creation and comparing it with a snapshot immediately after creation. Thanks...David You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.