How can I reduce the size of PyCharm's content.dat.storageData cache?

Question:

My content.dat.storageData file for PyCharm is huge (~8gb); is there any way for me to make it smaller? Ideally I’d also like to be able to see what it contains.

I have already tried going to File --> Invalidate Caches/Restart as recommended in the JetBrains article Cleaning out the system caches.

Is it safe to try to just delete the file?

enter image description here

Asked By: Nathan Wailes

||

Answers:

I ended up just deleting the file, and I haven’t noticed any ill effects so far.

I believe the cache file had grown a few weeks ago when I placed a folder full of ~100,000 text files in one of my project files, which caused that folder to get indexed by PyCharm. I later marked the folder-full-of-text-files to not be indexed, but the cache file remained large.

Answered By: Nathan Wailes

in the options of pycharm there is a option "invalidate caches", thats the safe way

Answered By: Jonas Campos
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.