Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
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.
- Posts: 1029
- Joined: Wed Mar 02, 2005 7:53 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.
SciTech Software AB
Users browsing this forum: Google [Bot] and 17 guests