PyCharm packages_v2.json very large Follow
There is a huge file /Users/julian/Library/Caches/JetBrains/PyCharm2022.3/python_packages/packages_v2.json
This is nearly 100GB, which is a fifth of my hard drive. Is it possible to reduce this file, or delete it and let it rebuild?
Please sign in to leave a comment.
Found the answer here . Invalidating the caches reduced the size of the file from 100GB to 6.8MB! It would be nice if PyCharm kept an eye on this file and prompted to reload it when it got too big.
I believe there is an issue with the IDE. My packages_v2.json file just jumped to a size of 988GB
The same problem! My `packages_v2.json` - 106GB
I also got the same problem, my mac ran out of space and found that this file was the culprit
~/Library/Caches/JetBrains/PyCharm2022.3/python_packages ❯ du -sh *
Doing the "invalidate caches & restart" didn't do anything.
i think the main thread is here: https://youtrack.jetbrains.com/issue/PY-57156/Gigantic-file-.cache-JetBrains-CLion2022.3-pythonpackages-packagesv2.json
I was able to fix the issue by doing the "Download pre-built shared indexes" step, and immediately after, all 305GB taken up by packages_v2.json was freed.
When I did "invalidate caches & restart", I then needed to empty the bin before I got my space back.
I am seeing this as well. My packages_v2.json is 300GB. I can't open PyCharm to clear the cache via the menu. I have 100GB left on my drive and it is not enough. I will look at the other solutions. Thanks for the help
Mine got to 651GB 😱
Mine got to 718 GB.That's too bad.
I just deleted mine in the end. Nothing else seemed make it smaller
Guys, any solution to this so far? After deleting the file (invalidating caches does nothing to this file) and restarting PyCharm, the file is recreated again. So actually I'm unable to use PyCharm now (it eats all the disk remaining space so then everything starts crashing...)
if there's any difference: I don't have a community version, I'm using professional version
460 GB for me, my only option was to delete it... I am not sure how is it generated and how to limit its growth, so I'll keep an eye on it.
I'm sorry for the inconvenience.
300GB+ for me, crashed my laptop :\
This keeps happening on my system as well. Any chance we can get a hotfix sooner rather than later?
Filesize 1,56 TB of total 2 TB. Mac no longer properly usable.
I will downgrade to 2022.2.3
I uninstalled pycharm, deleted all the .cache files(Linux Ubuntu 22.04) from JetBrains, removed them from my trash bin and installed version 2022.2.4. until they fix the issue.
It works fine now.
Happened here as well with a 136 GB file in 2022.3 on Win10 . Invalidating caches and restarting didn't work - it just made the problem worse (then PyCharm started hitting pagefile and locked up my system). File seems to just contain repeating package names.
This is a huge bug!
For me, it happened to me after updating my plugins and restarting the IDE.
You can download 2022.3.1 Release Candidate right now from https://youtrack.jetbrains.com/articles/PY-A-23004355
Andrey Resler I first had this happen today, on 2022.3.1
Vilim Lendvaj could you please create a separate issue in https://youtrack.jetbrains.com/issues/PY and attach your idea.log file from Help | Show Log in...?
We'll investigate asap.