This article mainly introduces how to solve the problem that IDEA occupies too much space on the C drive. It has a good reference value and I hope it will be helpful to everyone. Let's follow the editor to take a look
The author's recent C drive space is tight, and the red warning starts to light up. Using SpaceSniffer to analyze the disk space occupation, it is found that different versions of IDEA occupy as much as 10G.
This software looks like this (as of the time of the screenshot, the idea factory settings directory has been migrated away, because he will constantly monitor the disk space changes, so I can't see the IDEA project settings directory.)
Later, I found an article on the Internet, found the IDEA installation directory, and modified the idea.properties settings as follows
idea.config.path=g:/.IntelliJIdea2019.3/config
idea.system.path=g:/.IntelliJIdea2019.3/system
idea.plugins.path=g:/.IntelliJIdea2019.3/plugins
idea.log.path=g:/.IntelliJIdea2019.3/log
Supplement: Clean up the cache files in the C drive in IntelliJ IDEA
The cache file generated by idea in the c drive is about 800 m, which occupies a lot of space on the c drive. You can move this thing to another drive letter. My operation is to move to the E drive.
# path to IDEA config folder. Make sure you're using forward slashes
idea.config.path=${
user.home}/IntelliJIdea/config
# path to IDEA system folder. Make sure you're using forward slashes
idea.system.path=${
user.home}/IntelliJIdea/system
# path to user installed plugins folder. Make sure you're using forward slashes
idea.plugins.path=${
user.home}/IntelliJIdea/config/plugins
The original configuration file is directly opened and modified into idea.properties in the bin directory under the installation directory of idea
idea.config.path=E:/IntelliJIdea/config
idea.system.path=E:/IntelliJIdea/system
idea.plugins.path=${
idea.config.path}/plugins
idea.log.path=${
idea.system.path}/log
In this way, restarting must be equipped with reconfiguration, which is more troublesome. Just copy the folder under the c drive directly to the E drive and restart the idea.
The above is personal experience, I hope I can give you a reference, the above is all the content of this article, I hope it will be helpful to everyone's study, and I hope you can support me