JetBrains Rider 2025.1 Help

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, JetBrains Rider 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

  1. In Rider settings, open the Build, Execution, Deployment | dotMemory Profiler page.

  2. 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 Favorite workspace Add to favorites icon next to the workspace you don't want to be deleted.

To enable workspace location auto-cleanup

  1. In Rider settings, open the Build, Execution, Deployment | dotMemory Profiler page.

  2. 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 JetBrains Rider".

    • 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, JetBrains Rider tracks its current size. If this size is exceeded, JetBrains Rider 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 JetBrains Rider".

Open workspaces

  1. Open the dotMemory Profiler tool window on the Recent Workspaces tab.

  2. 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

  1. Open the dotMemory Profiler tool window on the Recent Workspaces tab.

  2. In the list of workspaces, right-click the desired workspace and, in the context menu, select Export.

  3. 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

  1. Open the dotMemory Profiler tool window.

  2. Click Import dotMemory workspace Import Workspace.

Rename workspaces

  1. Open the dotMemory Profiler tool window on the Recent Workspaces tab.

  2. In the list of workspaces, right-click the desired workspace and, in the context menu, select Edit Name.

  3. Rename the workspace and press Enter.

13 March 2025