heap size

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Exal

    #1

    heap size

    Hi, could anyone help me or point me to a site where to find
    information about how to track the heap size and garbage collections
    during the execution of an application?

    Thanx

  • Milosz Skalecki

    #2
    RE: heap size

    Howdy,

    Use performance counter with CategoryName set to ".NET CLR Memory". You can
    access gc collector state details including memory usage i.e.:
    CounterName=
    "# Bytes in all Heaps" or
    "Gen 0 heap size" etc.

    See MSDN for more details about all .NET CLR Memory performance counters

    Hope this helps

    Milosz Skalecki
    MCP, MCAD


    "Exal" wrote:
    [color=blue]
    > Hi, could anyone help me or point me to a site where to find
    > information about how to track the heap size and garbage collections
    > during the execution of an application?
    >
    > Thanx
    >
    >[/color]

    Comment

    Working...