Search code examples
azurememorypiddumpprocdump

Creating a process dump for Azure App service


How can I create a memory dump for an Azure App Service specific process?

I can access the kudu site, but I do not see an option to create a full memory dump for a process that I need to debug.


Solution

  • to create a dump file for a specific process of Azure App Service you should go to Kudu site (from the Advanced Tools section) of the Azure App service Then go to Process Explorer and note the Process Id that you need to create dump for Then go to Debug Console -> CMD Navigate to location (create a folder if needed) where the dump will be saved (for example D:\home\data)

    Use command to create dump: d:\devtools\sysinternals\procdump -accepteula -ma <Process ID>

    Once dump is created use Download button next to the file created to download it.