Work with Workspaces
To store the results of your investigations, dotMemory uses workspaces. A workspace saves everything you see on the screen: all open analyses, including all collected snapshots, allocation data, and analysis paths. In other words, it saves the current state of dotMemory.
Workspace files location
After the profiling session ends, the workspace file (.dmw) is saved automatically to the default location C:\Users\[username]\AppData\Local\JetBrains\dotMemory\[version]\Workspaces.
To change the default workspace files location
In Rider settings, open the
page.Specify a new location in the Workspace files location field.
You can automate the cleanup of your workspace files location using the auto-deletion feature. dotMemory will automatically delete workspace files not opened in a specified number of days. If you want to prevent a workspace from auto-deletion, you can mark it as favorite: click the Add to favorites icon next to the workspace you don't want to be deleted.
To enable workspace location auto-cleanup
In Rider settings, open the
page.In Auto-delete workspaces that were not opened in last [ ] days, specify for how many days workspaces must not be opened to qualify for auto-deletion.
Open workspaces
Open the dotMemory Profiler tool window on the Recent Workspaces tab.
In the list of workspaces, double-click the desired workspace.
Import and export workspaces
To export a workspace means to save it to a separate file applicable for further distribution.
To export a workspace to a file
Open the dotMemory Profiler tool window on the Recent Workspaces tab.
In the list of workspaces, right-click the desired workspace and, in the context menu, select Export.
Select a folder where you want a workspace file to be saved and click OK.
To import a workspace means to open the exported workspace file.
To import a workspace
Open the dotMemory Profiler tool window.
Click Import Workspace.
Rename workspaces
Open the dotMemory Profiler tool window on the Recent Workspaces tab.
In the list of workspaces, right-click the desired workspace and, in the context menu, select Edit Name.
Rename the workspace and press Enter.