Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Todd's Blog
My contribution to the SharePoint community
Home
Email
About
RSS 2.0
Atom 1.0
Recent Posts
On Twitter Now
SharePoint Session State; The Guest That Just Won’t Leave
Run (As Your AppPool Account) Forrest
PrepareToMove Away From Running This Command
High Memory is Relative
Tags
ASP.NET Debugging
ASP.NET General Information
ASP.NET Performance
General .Net Framework
IIS
Personal
SharePoint
Speech Server
News
Todd Carter's Profile
Create Your Badge
follow toddca at http://twitter.com
Other Blogs
Jim's Blog
Jerry's Blog
Doug's Blog
Tess's Blog
Archives
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?
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.
Posted:
Monday, September 18, 2006 6:21 AM by
Toddca
Filed under:
General .Net Framework
Comments
Bytes in All Heaps | keyongtech
said:
PingBack from
http://www.keyongtech.com/452177-bytes-in-all-heaps
#
January 22, 2009 2:14 AM
New Comments to this post are disabled