Memory dumps are an invaluable resource when needing to dive deep in Sitecore application issues. They are also helpful if you need to call on Sitecore Support when opening a Sitecore Support ticket.
For collecting a memory dump on a Virtual Machine running Sitecore, here is an updated guide from Sitecore with the steps to collect via the DebugDiag tool: How-to’s – How to collect memory dumps using DebugDiag (sitecore.com)
For collecting a memory dump from a PaaS Application Service running Sitecore you can leverage the Kudu interface as follows:
- Open Advanced Tools from the left hand blade/navigation of the desired Application Service
- Once Kudu is open, click on “Process Explorer”
- Identify the w3wp.exe process you want to collect a dump for
- Click on “Properties” and scroll down and click “Download memory dump”