Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Object Memory Analysis in .NET

Tags:

.net

memory

Is there a tool or a way to find out how much memory consumed by each DLL or object in .NET? The more detail it analyzes the better. Thanks.

like image 690
Ray Lu Avatar asked Sep 21 '08 00:09

Ray Lu


People also ask

How detect memory leak in .NET application?

Usage of memory profiler to detect a memory leak DotMemory, SciTech Memory Profiler, and ANTS Memory Profiler are the most popular.NET memory profilers. If you have Visual Studio Enterprise, you may also use a "free" profiler. Memory profilers all work in the same way.

What is .NET memory Profiler?

. NET Memory Profiler is a powerful tool for finding memory leaks and optimizing the memory usage in programs written in C#, VB.NET or any other . NET Language.

How do you analyze memory usage?

Check Computer Memory Usage EasilyTo open up Resource Monitor, press Windows Key + R and type resmon into the search box. Resource Monitor will tell you exactly how much RAM is being used, what is using it, and allow you to sort the list of apps using it by several different categories.


2 Answers

You could try CLR Profiler which is free, or maybe the trial version of ANTS Profiler.

like image 162
Kent Boogaart Avatar answered Sep 21 '22 11:09

Kent Boogaart


.NET Memory Profiler should allow you to do that: http://memprofiler.com/

like image 24
Beau Crawford Avatar answered Sep 18 '22 11:09

Beau Crawford