I am trying to debug a .NET multi-threaded application in Visual Studio and profile this .NET test process using DotMemory 2019.3.3. After hitting "Get Snapshot", the memory snapshots dialog shows "Saving the snapshot" and the snapshot never opens. There happens to be a small exclamation mark which on clicking gives the message as follows:-
"The requested operation cannot be performed on a file with a user-mapped section open - Can't set eof [location] - ... "
Also tried setting the system environment variable 'JETBRAINS_PROFILER_CORE_USEGHSTWND' as per the post below but the same error keeps showing up.
Spend hours digging up this issue and work-around but no luck. Any help would be really appreciated.