Using the Microsoft Common Language Runtime Profiler

The memory allocation profile of the application that you have written can be investigated by using the CRL Profiler. The efficiency of the garbage collection and the memory leaks can tracked down with the use of the CLR Profiler.

It is possible to isolate the code that creates the problems such as memory leak and rectify them. Some of your code could allocate too much of memory and induce too much of garbage collection. Sometimes your code could hold on the memory for a longer time.

These problems can be identified with the help of the CLR Profiler. Do not use the CLR Profiler in the production environment. Using the CLR Profiler might slow down your application up to 100 times. When you run the CLR Profiler you are presented with different types of view which you can make use of to track the problems.

Some of the views available are Histogram Relocated Types, Histogram by Age, Histogram Allocated Types, Objects by Address, Call Graph, Allocation Graph, Heap Graph, and Time Line.

The CLRProfiler.exe is the file needed to run the CLR Profiler and you can download this self-extracting executable from the Microsoft website.



RedHawk to be part of Microsoft's Windows Phone 8, too?
Rumor alert: Might the coming Windows Phone 8 operating system have even more in common with Windows 8, architecturally, than the OS kernel itself?

What's it like building apps for Windows 8? Developers speak out
Some developers already have begun building Metro-style apps for Windows 8. Here's what they're experiencing so far.

10 years since the Bill Gates security memo: A personal journey
Ten years after the famous Trustworthy Computing memo, Microsoft principal cybersecurity architect Michael Howard shares memories from the Redmond security trenches.




______________________________________________________

Recommended Resource



| Understanding Common Language Runtime | Understanding the benefits of .NET - Common Language Runtime | Understanding Common Language Runtime Debugging Services | How Common Language Runtime helps expediting your development process | What is Common Language Runtime | Using the Microsoft Common Language Runtime Profiler | Common Language Runtime Download |



_______________

FREE Subscription

Stay Current With the Latest Technology Developments Realted to .NET. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.


 

| Privacy Policy for www.dotnet-guide.com | Disclosure | Contact |