Get diagnostic data after a SQL Server Management Studio (SSMS) crash
Applies to:
SQL Server
Azure SQL Database
Azure Synapse Analytics
Analytics Platform System (PDW)
Get full memory dump after an unresponsive system or crash
Get a full memory dump of SQL Server Management Studio (SSMS) when it stops responding or crashes.
To capture diagnostic information to troubleshoot a crash or an unresponsive SSMS, follow the steps below.
Download ProcDump.
Unzip the download into a folder.
Open the command prompt and run the following command.
<PathToProcDumpFolder>\procdump.exe -e -h -ma -w ssms.exe
If it prompts you to accept a license agreement, select Agree.
Start SSMS, if it hasn't started already.
Reproduce the issue.
The text should appear in the cmd prompt about writing the dump file, wait for that to finish.
Create a new folder and copy the *.dmp file that is written out to that folder.
Copy the following files into the same folder.
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\SOS.dll" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll"
Zip up the folder
Get full memory dump for an OutOfMemoryException
Get a full memory dump of SSMS when it throws an OutOfMemoryException.
You can get a full memory dump with any managed exception.
To capture diagnostic information to troubleshoot an OutOfMemoryException from SSMS, follow the steps below.
Download ProcDump.
Unzip the download into a folder.
Open Command Prompt and run the following command.
<PathToProcDumpFolder>\procdump.exe -e 1 -f System.OutOfMemoryException -ma -w ssms.exe
If it prompts you to accept a license agreement, select Agree.
Start SQL Server Management Studio if not started already.
Reproduce the issue.
The text should appear in the cmd prompt about writing the dump file, wait for that to finish.
Create a new folder and copy the *.dmp file that is written out to that folder.
Copy the following files into the same folder.
"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\SOS.dll" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll"
Zip up the folder.
Feedback
Submit and view feedback for