Red Gate forums :: View topic - Why you shouldn't use task manager to determine memory leaks
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 7
ANTS Memory Profiler 7 forum

Why you shouldn't use task manager to determine memory leaks

Search in ANTS Memory Profiler 7 forum
Post new topic   Reply to topic
Jump to:  
Author Message
smcekan



Joined: 14 Aug 2012
Posts: 1

PostPosted: Tue Aug 14, 2012 4:10 pm    Post subject: Why you shouldn't use task manager to determine memory leaks Reply with quote

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
View user's profile Send private message
dom.smith



Joined: 03 Jun 2010
Posts: 94
Location: Cambridge, UK

PostPosted: Wed Aug 29, 2012 4:02 pm    Post subject: Reply with quote

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,
Project Manager,
Red Gate Software.
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 586

PostPosted: Tue Sep 25, 2012 1:22 pm    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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