Connecting Tech Pros Worldwide Help | Site Map

monitor memory leak

  #1  
Old January 18th, 2008, 08:55 AM
George2
Guest
 
Posts: n/a
Hello everyone,


Reading from book Windows Internals, we should use private bytes to
monitor memory leak.

1. I think the reason why not using virtual bytes, is because there
may be some shared materials counted as a part of virtual bytes --
like shared library and file map;

2. I think the reason why not using working set, is because sometimes
working set is trimmed and sometimes not all committed virtual bytes
are in working set -- like demand for zero scenario.

Are my understanding for (1) and (2) correct?


thanks in advance,
George
  #2  
Old January 18th, 2008, 09:45 AM
Lionel B
Guest
 
Posts: n/a

re: monitor memory leak


On Fri, 18 Jan 2008 00:49:53 -0800, George2 wrote:
Quote:
Hello everyone,
>
Reading from book Windows Internals, we should use private bytes to
monitor memory leak.
What are "private bytes"?
Quote:
1. I think the reason why not using virtual bytes, is because there may
be some shared materials counted as a part of virtual bytes -- like
shared library and file map;
What are "virtual bytes"?
Quote:
2. I think the reason why not using working set, is because sometimes
working set is trimmed and sometimes not all committed virtual bytes are
in working set -- like demand for zero scenario.
What is a "working set"? what is a "zero scenario"?
Quote:
Are my understanding for (1) and (2) correct?
Who knows?

Is there a C++ question lurking in here somewhere?

--
Lionel B
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Leak Peter answers 22 July 17th, 2008 08:25 PM
Memory leak in ASP with ADOMD Charlotte answers 1 January 18th, 2006 09:35 PM
MQ memory leak José Joye answers 17 November 15th, 2005 05:12 PM
LIstView Memory Leak? David Miller answers 2 July 21st, 2005 09:07 AM