Groups | Blog | Home
all groups > dotnet performance > september 2007 >

dotnet performance : Bytes in All Heaps


doom
9/24/2007 12:00:00 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


Laura T.
9/24/2007 12:00:00 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/2006/09/18/bytes-in-all-heaps-private-bytes.aspx

"doom" <spam2@@discussions.microsoft.com> ha scritto nel messaggio
news:OdULUpn$HHA.4584@TK2MSFTNGP03.phx.gbl...
[quoted text, click to view]
Willy Denoyette [MVP]
9/24/2007 2:35:01 PM
[quoted text, click to view]

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

Willy.
AddThis Social Bookmark Button