Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
- Joined:Tue Jan 18, 2022 10:20 pm
Using profiler on production
We have a weird perf problem that shows up on production machine only. Every profiler so far (perfview, dotProfile, leansentry), brought down the site (we're running IIS 10), with even the lightest settings for memory collection. Our customers can't handle mid-day recycles, or even twice-slow response times.
Is .NET Memory Profiler able to gather anything more then continuous Memory/GC stats, with a very small perf impact ? We're obviously not looking for any snapshotting (that takes 15 min on our 100gb heap).
- Joined:Wed Mar 02, 2005 7:53 pm
If you attach to the process using "Inspection only attach" you have the option to collect a memory snapshot of the process using a process snapshot
(process snapshots are available in WIndows 8.1/Windows Server 2012 R2 and later). A process snapshot should be fast, even for a 100 GB process. However, reading the memory data from a 100 GB process snapshot may be very slow. If there are many object instances and references, it may become too slow to work with.
If NmpCore is used to attach to the process, the "Inspection attach " argument, /ia, should be used. For more information see the documentation
SciTech Software AB
Users browsing this forum: No registered users and 10 guests