Taking snapshot with dotMemory is very slow
Hello, I have a windows service running on Windows 2016 server. The service is a 32 bit process, and it generates an OutOfMemoryException. I took the first snapshot before the exception, and then after the exception. The first snapshot got processed very quickly but the second one, has been in the Processing state for 3 days now. I see that JetBrains.Common.ExternalStorageCLR40.exe is running, and it seems that the application is not hanging but it doesn't look that it is anywhere close to finishing the processing of the snapshot. Note that, when I took the second snapshot, private working set of the process in Task Manager was showing about 3 GB.
Any suggestion on how to improve performance of snapshot processing?
Thank you,
Sergei Akopov.
Please sign in to leave a comment.
Hello Sergei!
Thank you for contacting us.
In case of OutOfMemoryException it's hard to take a snapshot cause dotMemory tool also needs to get memory in the profiling process.
You can try making memory dump using Task Manager or Process Explorer and import it to dotMemory.
Thank you.
Similar issue. But there was no OutOfMemory in my case. I just clicked 'GetSnapshot'. Snapshot frozen in 'Processing...' state.
Konstantin,
Do you have enough disk space on your computer? Processing can take a lot of disk space and stuck if space is not enough.
In other case, could you please perform the next steps:
You can create support ticket and attach your files to the ticket: https://resharper-support.jetbrains.com/hc/en-us/requests/new