PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > monitor memory leak
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
monitor memory leak

Réponse
 
LinkBack Outils de la discussion
Vieux 18/01/2008, 08h49   #1
George2
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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
  Réponse avec citation
Vieux 18/01/2008, 09h44   #2
Lionel B
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: monitor memory leak

On Fri, 18 Jan 2008 00:49:53 -0800, George2 wrote:

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


What are "private bytes"?

> 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"?

> 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"?

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


Who knows?

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

--
Lionel B
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h14.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13728 seconds with 10 queries