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 and analyses paths. In other words, it saves the current state of dotMemory.
Workspace files location
After the profiling session ends, the workspace is saved automatically to the default location C:\Users\[username]\AppData\Local\JetBrains\dotMemory\[version]\Workspaces.
To change the default workspace files location
On the Home page, open Settings.
In the Save Workspaces section, 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 that were not opened in a specified amount 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 Home page, select Settings.
In the Save Workspaces section, in Auto-delete workspaces that were not opened in last [ ] days, specify how many days workspaces must not be opened to qualify for auto-deletion.
Opening workspaces
On the Home page, on the left panel, choose Workspaces.
In the list of workspaces, double-click the desired workspace.
Importing and exporting 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.
Renaming 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.