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.



Newsletter Subscription (ARNnet)
Sign up for our ARN newsletters! The premier provider of daily news to the IT channel, covering business, technology, products, and services. In the beginning, Mainsoft released Visual MainWin for Java EE, which compiled .Net CIL (Common Intermediate Language) code into Java bytecode.

Product review: .Net comes to WebSphere Portal (InfoWorld via Yahoo! News)
In the beginning, Mainsoft released Visual MainWin for Java EE, which compiled .Net CIL (Common Intermediate Language) code into Java bytecode.

How to modify applications without the code (Personal Computer World)
What do you do when you need to modify your application but cannot find the code? Peter Altman contacted me about a Visual Basic 3.0 puzzle which he wanted to run on his Windows Mobile PDA. All he had was the compiled code, written for him by a friend who had died.




______________________________________________________

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