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] > 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
>
>
>
[quoted text, click to view] "Laura T." <LT_stop@yahoo.com> wrote in message
news:eiuuuBp$HHA.4752@TK2MSFTNGP04.phx.gbl...
> 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.