DEV Community

Frédéric G. MARAND
Frédéric G. MARAND

Posted on • Originally published at blog.riff.org on

GoLand tip of the day: clean up GoLand leftover cache and log folders

When GoLand is upgraded from one version to the next, the deployment process adds a new set of configuration, cache, and log directories. But it does not remove the versions associated to the previous versions of the IDE, to ease rolling back to the previous version if an upgrade happens to cause an issue.

So after some time, removing these now-unused folders will regain some disk space, possibly more than 1 GB. Here are their respective locations and content on macOS:

Role Size indication Configuration variable Default location
Configuration 3 to 10 MB idea.config.path ~/Library/Preferences/Gogland1.0 ~/Library/Preferences/Goland.(version)
Plugins 50 to 100 MB idea.plugins.path ~/Library/Application Support/Gogland1.0 ~/Library/Application Support/GoLand-EAP ~/Library/Application Support/GoLand ~/Library/Application Support/GoLand.(version)
Caches 200 MB or (much) more idea.system.path ~/Library/Caches/Gogland1.0 ~/Library/Caches/GoLand2018.(version)
Logs 1 to 10 MB idea.log.path ~/Library/Logs/Gogland1.0 ~/Library/Logs/GoLand2018.(version)

On Windows and Linux, lookup the location using the name of the configuration variable in the third column.

Notice that the Toolbox app uses similar locations

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (1)

Collapse
 
s0xzwasd profile image
John Doe

In GoLand releases, you can use Help | Delete Leftover IDE Directories to clean up IDE directories automatically.

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay