Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for diagnosing memory leaks in .NET (ASP.NET Application) [closed]

we need a tool to detect easily memory leaks in an ASP.NET Application. We have an application, which consumes lot of memory.

Thanks

like image 320
ChaosSpeeder Avatar asked Jan 23 '09 17:01

ChaosSpeeder


People also ask

How detect memory leak in .NET application?

Start the debug diagnostic tool and select 'Memory and handle leak' and click next. Select the process in which you want to detect memory leak. Finally select 'Activate the rule now'. Now let the application run and 'Debugdiag' tool will run at the backend monitoring memory issues.

Which tool is used for memory leak detection?

Using Memory Profilers Memory profilers are tools that can monitor memory usage and help detect memory leaks in an application. Profilers can also help with analyzing how resources are allocated within an application, for example how much memory and CPU time is being used by each method.

How will you find memory leaks and inefficient memory for a .NET application?

To find memory leaks and inefficient memory usage, you can use tools such as the debugger-integrated Memory Usage diagnostic tool or tools in the Performance Profiler such as the . NET Object Allocation tool and the post-mortem Memory Usage tool.

How do I find a memory leak in .NET core?

Using “Making Object ID” to find memory leaks Set a breakpoint where the class instance is created. To open the debugger's data-tip, hover over the variable, then right-click and select Make Object ID. To verify that the Object ID was created correctly, type $1 in the Immediate Window.


2 Answers

Using WinDbg is not as easy as using dotTrace but it can help you to discover lots of oddities in your application. Other than that you can find invaluable information about debugging ASP.Net applications on Tess Ferrandez's blog.

like image 54
idursun Avatar answered Oct 28 '22 21:10

idursun


I have published a new article on the subject on MSDN. It contains a list of tools.

like image 34
Fabrice Avatar answered Oct 28 '22 21:10

Fabrice