Rider takes too much disk space

There are some special folders which are used by Rider to store its data (logs, caches,  old snapshots, etc.) Typically, the size of those folders should not be significant. However, in some cases, size can increase noticeably. In these cases, you might want to delete obsolete files and folders.

If you’ve noticed that Rider occupies too much disk space, you can safely delete the following folders:

Rider2019.3.x or earlier versions

Windows

  • %LOCALAPPDATA%\JetBrains\dotMemory\v{version}\workspaces
    Contains dotMemory snapshots.
  • %LOCALAPPDATA%\JetBrains\Shared\vAny\DecompilerCache
    Contains decompiled sources.
  • %LOCALAPPDATA%\JetBrains\Shared\vAny\Installer
    Contains installer log files.
  • %LOCALAPPDATA%\JetBrains\Shared\vAny\Sessions
    Contains dotTrace snapshots.
  • %LOCALAPPDATA%\JetBrains\Transient
    Contains different kinds of Rider caches.
    Note: deleting this folder will trigger full solution analysis as it contains solution-wide-analysis caches.
  • %USERPROFILE%\.Rider{version}\system\log
    Contains Rider log files.

OSX

  • /Users⁩/⁨{User}/⁨Library/⁨Caches/⁨Rider{version}/⁨resharper-host⁩/Transient  
    Contains different kinds of Rider caches.
    Note: deleting this folder will trigger full solution analysis as it contains solution-wide-analysis caches.
  • /Users⁩/⁨{User}/⁨Library/Preferences/Rider{version}/resharper-host/Sessions
  • /Users⁩/⁨{User}/⁨Library/⁨Logs⁩/Rider{version}
    Contains Rider log files.

Linux

  • /home/{user}/.Rider{version}/system/resharper-host/Transient
    Contains different kinds of Rider caches.
    Note: deleting this folder will trigger full solution analysis as it contains solution-wide-analysis caches.
  • /home/{user}/.Rider{version}/config/resharper-host/Sessions
  • /home/{user}/.Rider{version}/system/log
    Contains Rider log files.

Some additional global settings are stored in %USERPROFILE%\.Rider{version}. You can delete any folders that correspond to older, unused versions.

Rider2020.1 and above

Windows

  • %USERPROFILE%\AppData\Local\Temp
    Contains dotMemory snapshots.
  • %LOCALAPPDATA%\JetBrains\Rider{version}\resharper-host\temp
    Contains dotTrace snapshots.
  • %LOCALAPPDATA%\JetBrains\Rider{version}\resharper-host\local\Transient
    Contains different kinds of Rider caches.
    Note: deleting this folder will trigger full solution analysis as it contains solution-wide-analysis caches.
  • %LOCALAPPDATA%\JetBrains\Rider{version}\log
    Contains Rider log files.

OSX

  • /Users⁩/⁨{User}/⁨Library/⁨Caches/⁨JetBrains/Rider{version}/⁨resharper-host⁩/local/Transient  
    Contains different kinds of Rider caches.
    Note: deleting this folder will trigger full solution analysis as it contains solution-wide-analysis caches.
  • /Users⁩/⁨{User}/⁨Library/Application Support/JetBrains/Rider{version}/resharper-host/Sessions
  • /Users⁩/⁨{User}/⁨Library/⁨Logs⁩/JetBrains/Rider{version}
    Contains Rider log files.

Linux

  • ~/.Cache/JetBrains/Rider{version}/resharper-host/local/Transient
    Contains different kinds of Rider caches.
    Note: deleting this folder will trigger full solution analysis as it contains solution-wide-analysis caches.
  • ~/.Config/JetBrains/Rider{version}/resharper-host/Sessions
  • ~/.Cache/JetBrains/Rider{version}/log
    Contains Rider log files.
14 out of 21 found this helpful
1 comment

Are those files the reason Rider complains about low disk space?
The notification surprised me, because there are 30+ GB available. Do you know more?

0

Please sign in to leave a comment.

Have more questions?

Submit a request