| Author |
Message |
smcekan
Joined: 14 Aug 2012 Posts: 1
|
Posted: Tue Aug 14, 2012 4:10 pm Post subject: Why you shouldn't use task manager to determine memory leaks |
|
|
Was always told that using task manager was a bad idea for determining if you app had a memory leak. Partly due to the private bytes including allocated & unused bytes.
Is this the case? |
|
| Back to top |
|
 |
dom.smith
Joined: 03 Jun 2010 Posts: 65 Location: Cambridge, UK
|
Posted: Wed Aug 29, 2012 4:02 pm Post subject: |
|
|
Task Manager displays only the 'Private working set' memory counter, which is only accurate immediately after a garbage collection. That's probably why you were told this.
For a comparison of the different memory counters available, please see the 'Comparing Memory Counters' section of this page: http://www.red-gate.com/supportcenter/content/ANTS_Memory_Profiler/help/7.4/amp_set_up_counters _________________ Dominic Smith,
ANTS Performance Profiler Project Manager,
.NET Division, Red Gate Software. |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
Posted: Tue Sep 25, 2012 1:22 pm Post subject: |
|
|
For what it's worth, IMHO ; there is nothing whatsoever wrong with task manager for detecting leaks.
It just won't tell you *why* there's a leak- that's where ANTS Memory Profiler comes in  |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group