How to Reclaim Hundreds of GB on Windows by Cleaning JetBrains IDE Files
This guide shows how to free up hundreds of gigabytes on a Windows PC by locating and deleting large JetBrains IDE directories, customizing IDE configuration and cache paths, and also introduces the popular open‑source SpringBoot‑based e‑commerce project “mall” for further learning.
1. C Drive Red Alert
IDE (IntelliJ IDEA) warned of low disk space; after cleaning with a tool, the drive remained red.
2. Identify the Culprit
Using SpaceSniffer, the author discovered that JetBrains family applications occupied about 65 GB on the C drive.
3. Clean Directories
Default JetBrains directories are
C:\Users\%USERNAME%\AppData\Local\JetBrainson Windows and
~/Library/Application Support/JetBrainson macOS. Deleting old version folders freed significant space, but keep the newest version's configuration to avoid loss.
If you use JetBrains Toolbox, you can also clean residual directories via its settings.
4. Relocate IDE Configuration, Plugins, and Cache
4.1 In Toolbox you can set custom locations for JVM options.
4.2 Without Toolbox, edit
${INSTALL_DIR}\bin\idea.propertiesto define the following paths:
idea.config.path idea.system.path idea.plugins.path idea.log.pathExample:
<code>idea.config.path=d:/work/idea/caches/trunk-config
idea.system.path=d:/work/idea/caches/trunk-system
idea.plugins.path=d:/work/idea/caches/trunk-plugins
idea.log.path=d:/work/idea/caches/trunk-logs</code>Uncomment these lines and adjust the directories as needed.
5. Open‑Source E‑Commerce Project Reference
The mall project is an open‑source SpringBoot + Vue + uni‑app e‑commerce system (≈60 K GitHub stars) that can be deployed with Docker. It includes full order flow, product, cart, coupon, membership, and payment features.
Project URL: https://github.com/macrozheng/mall
A comprehensive video tutorial (≈40 hours, 105 episodes) provides a complete Java technology‑stack experience and guides independent project development.
macrozheng
Dedicated to Java tech sharing and dissecting top open-source projects. Topics include Spring Boot, Spring Cloud, Docker, Kubernetes and more. Author’s GitHub project “mall” has 50K+ stars.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.