RE: Accessing the CLR Heap at runtime?
- From: v-jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Tue, 09 Aug 2005 02:29:08 GMT
Hi WorJurn,
Thanks for your post.
I am not aware of how the .Net Memory Profiler is implemented. However,
normally, we can use .Net Profiling API to get many internal informaiton of
CLR runtime. You can get detailed information from Matt Pietrek's article
below:
"The .NET Profiling API and the DNProfiler Tool "
http://msdn.microsoft.com/msdnmag/issues/01/12/hood/
Specifically, we can monitor "Garbage Collection and Managed Heap Objects"
category events. For example, ObjectAllocated is fired whenever a new
object is allocated from the managed heap.(I think this is what you want)
..Net CLR team also created a CLR Profiler with profiling API, provided much
powerful functions and GUI view. You can download it from:
"How To: Use CLR Profiler"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/
scalenethowto13.asp
Note: the source code for this tool is also available in the download link.
There is a MSDN TV showed us how to use CLR Profiler:
"Profiling Managed Code with the CLR Profiler"
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20030729CLRGN/
manifest.xml
Hope this helps.
==============================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.
- References:
- Accessing the CLR Heap at runtime?
- From: WorJurn
- Accessing the CLR Heap at runtime?
- Prev by Date: Re: How the OS manages the CLR Threads ?
- Next by Date: Sending exceptions across domains and threads
- Previous by thread: Re: Accessing the CLR Heap at runtime?
- Next by thread: RE: Accessing the CLR Heap at runtime?
- Index(es):
Relevant Pages
|