Can you help me?

Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
Post Reply

Can you help me?

Post by Guest » Thu Nov 10, 2005 4:06 am

If the memory used by my program in the operating system keeps enlarging as time goes by, any suggestion for how to use .NET Memory Profiler to handle with it?

I am surprised that I break the program and step into the code, and I can't find any function ,callback and event are executed. But the used memory still become bigger.

Andreas Suurkuusk
Posts: 1029
Joined: Wed Mar 02, 2005 7:53 pm

Post by Andreas Suurkuusk » Thu Nov 10, 2005 8:49 pm

Do you see a large memory usage by managed instances when you collect a heap snapshot in the profiler? Or are you only seeing the increasing memory usage when using the Task manager?

In order for your program to consume more memory, it must execute some code. It is probably just waiting for something when you break into the program, or you have some unmanaged thread running which you don't see if you are only debugging managed code.
Best regards,

Andreas Suurkuusk
SciTech Software AB

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 17 guests