Identifying memory leaks

There are various tools like JetBrains dotMemory, PerfView, and others to analyse or identity memory leaks for performance. dotMemory is a very good tool but requires a license for commercial use. In this section, we will use Perf View and see how memory leaks can be identified.

To install PerfView, you can go to Microsoft download centre site, https://www.microsoft.com/en-us/download/details.aspx?id=28567, and download.

It's a simple .exe file and you don't need to install it. PerfView is highly suitable for production use. It is quite easy to use and takes snapshots while your application is running without affecting or freezing the application performance.

Another important tool is the VMMap, which shows complete ...

Get Enterprise Application Architecture with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.