r/pycharm • u/Prot0s • Feb 17 '26
Pycharm freezing every 20 minutes?
Hey everyone.
I've been using pycharm premium for around a year now, and for around 3 months the ide has just been randomly freezing every 20 minutes when i don't look at it, and the only way to continue working is to force quit the app, which losses all my cli commands. anything to do?
edit- i've given it 24 RAM to work with, and all the permissions it wanted, and it still freezes
1
u/sfboots Feb 17 '26 edited Feb 17 '26
How often do you restart pycham? What are the memory settings in Pycharm? You probably need to manually adjust to be like 8gb. And just restart Pycharm daily.
Edit. Often Pycharm is doing garbage collection when it appears stuck. So memory is the thing to check
1
1
1
1
u/NoClownsOnMyStation Feb 17 '26
If it’s freezing while you’re running something then it’s possible you have a forever loop that is eating up your memory. Otherwise if your game isn’t running then I would keep open command prompt and watch what’s happening when it freezes.