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.
Temporary workspace storage
After the profiling session ends, dotMemory automatically saves the workspace file (.dmw) to the temporary workspace storage (a directory on the disk). The default storage location is %/LOCALAPPDATA%\JetBrains\dotMemory\[version ]\Workspaces.
To change the temporary storage location
On the Home page, open Settings.
In the Temporary Workspace Storage section, specify a new location in the Storage location field.
You can automate the cleanup of your temporary storage 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
On the Home page, select Settings.
In the Temporary Workspace Storage section, configure cleanup rules:
In Auto-delete workspaces that were not opened in last [ ] days, specify how many days snapshots must not be opened to qualify for auto-deletion. The value
0
means "delete all snapshots after closing dotMemory".In Auto-delete the oldest workspaces so that the storage size never exceeds [ ] GB, specify the maximum allowed size of the storage. When new workspaces are saved into the storage, dotMemory tracks its current size. If this size is exceeded, dotMemory will delete the oldest workspaces in the storage so that the storage size doesn't exceed the limit. The value
0
means "delete all snapshots after closing dotMemory".
Open workspaces
On the Home page, on the left panel, choose Workspaces.
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
On the Home page, on the left panel, choose Workspaces.
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
Do one of the following:
On the Home page, on the left panel, click Import Workspace.
In the opened dialog, select the desired workspace file and click Open.
In Windows File Explorer, double-click the workspace file.
Click
Import Workspace.
Rename workspaces
On the Home page, on the left panel, choose Workspaces.
In the list of workspaces, right-click the desired workspace and, in the context menu, select Edit Name.
Rename the workspace and press Enter.