Invalidate Cache doesn't clear content.dat.storagedata

On Win10 2019.2.3. I noticed that content.dat.storagedata was around 15GB so tried invalidating cache.  When pycharm closes it writes to the file but nothing when reopening and it remains the same size with its original creation date.

 

Am I missing something here? Is there any danger to manually blowing out the cache folder?

3 comments
Comment actions Permalink

Hi,

Please see a related discussion: https://intellij-support.jetbrains.com/hc/en-us/community/posts/207051155-content-dat-storageData-50GB-is-that-normal-

Basically, this may be caused by a large folder with multimedia, like images, which should be excluded from the indexing. Please see the linked thread for a possible solution.

0
Comment actions Permalink

Thanks for the response Andrey.  I had already read that and I know the directory that was causing the large cache. I have a directory where I generate a large number of image files using opencv.

 

However, I have excluded this folder (via file|settings|project|Project structure|excluded) and then invalidated cache. When Pycharm restarts on the invalidation the file sizes neither reduce nor do they get deleted (file creations dates still from September).

0
Comment actions Permalink

Hmm. What if you manually delete the caches directory? Don't worry about breaking PyCharm, deleting caches should be harmless.

0

Please sign in to leave a comment.