Memory profiling: "Out of memory" exception

Code and memory profiling for .NET developers.

Moderators: Brian Donahue, richardjm, StephenC

Memory profiling: "Out of memory" exception

Postby tratata » Fri Apr 24, 2009 5:32 pm

I tried to perform memory profiling on C# application.
After the first snapshot taken the memory used by profiler increased by 600 mb. On the second attemp of snapshot taking the memory usage increased to 1.2 gb and I get the error message about the "Out of memory exception" related to the profiler application.
-Is it normal, that memory usage is increased on every snapshot ?
-What can be done ?
My application uses about 400 mb of memory in regular state and about 2GB when profiling.
Also, as I can see in task manager, there is about 4 gb of memory that is not used by applications but "cached" (Win 2008 server), so I (profiler) cannot use this memory ?
Posts: 1
Joined: Fri Apr 24, 2009 5:13 pm

Postby StephenC » Fri Apr 24, 2009 5:54 pm


the best thing to do would be to try the upcoming V5 Memory Profiler which is much more efficient with memory usage and has a large number of new features which make memory profiling much simpler.

You can access the EA builds from here:

Posts: 306
Joined: Mon Oct 15, 2007 9:18 am
Location: Cambridge

Return to ANTS Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests