Sign In
Todd's Blog
My contribution to the SharePoint community
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
ASP.NET Debugging
ASP.NET General Information
ASP.NET Performance
General .Net Framework
IIS
Personal
SharePoint
Speech Server
Archive
Archives
March 2010
(1)
May 2009
(1)
March 2009
(1)
February 2009
(1)
January 2009
(3)
August 2008
(1)
June 2008
(1)
March 2008
(1)
August 2007
(2)
July 2007
(1)
June 2007
(1)
May 2007
(3)
January 2007
(4)
September 2006
(3)
July 2006
(1)
May 2006
(1)
March 2006
(1)
January 2006
(2)
December 2005
(1)
November 2005
(1)
August 2005
(1)
June 2005
(1)
April 2005
(2)
Bytes In All Heaps > Private Bytes?
MSDN Blogs
>
Todd's Blog
>
Bytes In All Heaps > Private Bytes?
Bytes In All Heaps > Private Bytes?
Toddca
18 Sep 2006 7:21 AM
Comments
1
The other day I had a friend of mine approach me about a possible bug he had found in the CLR memory perfomance counters. He pointed me to a performance log where his customer had captured a log that showed that the
Bytes in All Heaps
exceeded that of
Private Bytes
. Since he knew that Bytes in All Heaps represented the memory in the managed heap and the managed heap is part of Private Bytes how could this be possible? Well the answer is quite simple, its not, and what he was looking at was not a performance bug either but a side effect of how the GC performance counters operatate. The GC only updates it performance counters
after
a garbage collection as that is the time at which the values that feed into the counters are the most stable and available to publish to the performance block. It just so happens in this performance log that all GC activity had stopped for a while just before the end of the log (probably at the end of a test run) so the counters where not being updated. The private bytes counter will continue to be updated as it is managed by the OS.
1 Comments
General .Net Framework
Blog - Comment List MSDN TechNet
Comments
Loading...