Lately, I've been running into a frustrating issue with PyCharm. After a few hours of coding and running programs, it starts to slow down significantly and even gives me warnings about low memory. The only way I can temporarily fix it is by restarting the IDE, which can be a real hassle. Is anyone else facing this problem? What are some solutions you've found? I'm even considering switching to VS Code because of this!
5 Answers
I've had it too! I allocated 12GB of memory to PyCharm but it still freezes when searching for strings in files. Sometimes I can navigate through my code faster than it searches. It's seriously the most frustrating part of my setup. When it works, it’s great, but those moments are becoming rarer.
I'm right there with you! First time I'm seriously considering changing IDEs after using PyCharm consistently. Their responses to these issues are pretty disappointing too, like with this indexing problem.
Ugh, I totally get you! I've also started needing to restart PyCharm in the middle of my day. The full line completion is handy, but it seems to be eating up way too much memory lately.
You might want to try assigning more memory to see if that fixes the issue. There's a good guide on the JetBrains site about how to increase the heap size for PyCharm.
Have you looked into the plugins you're using? I haven't had those issues with my setup, but it might help to try running PyCharm with all plugins disabled to see if that makes a difference.
I’m actually not using any plugins!
Yep, I don't even use full line completion and I'm facing the same lag issues!