Developer IDEs
Clear DataGrip Cache on Mac
Clear the cache with File > Invalidate Caches, then restart the app. This removes only the current version's indexes and caches, and your projects, settings and passwords stay where they are.
Clear the DataGrip cache without guessing
DataGrip data usually takes 500 MB – 10 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.
Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+
OptiClear is a Mac app. Copy this page's link and open it on your Mac.
Email me the link- Application
- DataGrip
- Typical data size
- 500 MB – 10 GB
- Category
- Developer IDEs
- File Location
~/Library/Caches/JetBrains
Clear it from inside DataGrip first
The safest way is the option built into the app: File > Invalidate Caches, then restart; this clears only the current version's caches, not folders left by older releases or by other JetBrains IDEs.
DataGrip cache folders you can clear
These folders are rebuilt automatically, so removing them does not touch your own files.
Locations are the standard macOS folders DataGrip uses; some appear only after you use the matching feature.
What the DataGrip cache holds and when clearing helps
Specific to DataGrip
The cache is made of indexes and caches the app builds to speed up code completion and search. Each release gets its own versioned folder, so upgrades leave older data behind, and the typical size of the app's data is 500 MB – 10 GB. Clearing helps when indexing runs again and again, when completion suggestions are wrong, or when old version folders pile up in ~/Library/Caches/JetBrains.
What happens after you clear the DataGrip cache
The cache rebuilds automatically, so the first start afterwards is slower while indexing runs again. Query consoles and data source definitions stay in the settings folder, and passwords remain in the Keychain. Your projects and their .idea folders are untouched. If you are asked to sign in, that concerns your JetBrains Account activation, not the cache.
0 of 4 done
- Account and sync
- Paid JetBrains IDEs are activated with a JetBrains Account; settings can also be synced to that account with Backup and Sync.
Try it without risk
- Download and scan for freeSee every DataGrip file and its size. No account needed.
- Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
- Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.