Trying to get started with Visual Studio 2019 Performance Profiler to find memory leaks in an ASP.NET Core Web API application.
So, I choose the "memory usage" checkbox from the list.
Taking snapshots works fine too but when I click on "stop collection" button, I get a popup alert as "No Managed Heap data was collected. This feature requires .NET v4.5 or greater".
I tried installing .NET 4.5 but I do have 4.8 (as the installer reports).
Any clue on how I could get this thing working?
I am also interested to explore free/open source memory profiler alternatives.
Could it be document %windir%\system32\mscoree.dll and %windir%\SysWOW64\mscoree.dll. The file corresponding to the higher version could not be applied during the installation process, and it is still another lower version.
I was using IIS express to debug/profile. For anyone facing this issue, use Kestrel(ie name of your application while choosing to debug profile).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.