Connecting Tech Pros Worldwide Help | Site Map

monitor memory leak

 
LinkBack Thread Tools Search this Thread
  #1  
Old January 18th, 2008, 07:55 AM
George2
Guest
 
Posts: n/a
Default monitor memory leak

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, 08:45 AM
Lionel B
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.