HighTechTalks DotNet Forums  

Bytes in All Heaps

Dotnet Framework (CLR) microsoft.public.dotnet.framework.clr


Discuss Bytes in All Heaps in the Dotnet Framework (CLR) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
doom
 
Posts: n/a

Default Bytes in All Heaps - 09-24-2007 , 03:14 AM






Am having VS2005 on W2K3.

The definition of this "Bytes in All Heaps" is the sum of all the
heaps(Gen0+Gen1+Gen2+LOH). I could observe the value of "Bytes in All Heaps"
equals to (Gen1 + Gen2 + LOH) heap size and not including Gen0 heap size. Is
this a known bug or what.

user




Reply With Quote
  #2  
Old   
Laura T.
 
Posts: n/a

Default Re: Bytes in All Heaps - 09-24-2007 , 05:50 AM






Known, but not a bug.
Some counters related to memory management are refreshed/updated only at a
certain times.
For example, Bytes in All Heaps is updated only when GC collects, and
usually this means that
Gen0 (as it should) is gone (at least most of it).

More:
http://blogs.msdn.com/toddca/archive...ate-bytes.aspx

"doom" <spam2@@discussions.microsoft.com> ha scritto nel messaggio
news:OdULUpn$HHA.4584 (AT) TK2MSFTNGP03 (DOT) phx.gbl...
Quote:
Am having VS2005 on W2K3.

The definition of this "Bytes in All Heaps" is the sum of all the
heaps(Gen0+Gen1+Gen2+LOH). I could observe the value of "Bytes in All
Heaps" equals to (Gen1 + Gen2 + LOH) heap size and not including Gen0 heap
size. Is this a known bug or what.

user





Reply With Quote
  #3  
Old   
Willy Denoyette [MVP]
 
Posts: n/a

Default Re: Bytes in All Heaps - 09-24-2007 , 08:35 AM



"Laura T." <LT_stop (AT) yahoo (DOT) com> wrote

Quote:
Known, but not a bug.
Some counters related to memory management are refreshed/updated only at a
certain times.
For example, Bytes in All Heaps is updated only when GC collects, and
usually this means that
Gen0 (as it should) is gone (at least most of it).

Very true, and those Gen0 objects that aren't gone are now part of Gen1.

Willy.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.