I've recently started getting an out of memory error while using PyCharm 5.0.4 The message is:
There's not enough memory to perform the requested operation.
Please increase Xmx setting and shutdown PyCharm for change to take effect.
I've already increased the value to 1024 MB, and to my knowledge nothing has changed in either my Python or system setups.
What exactly does the size of the Xmx memory manage, and how would I go about debugging what's causing the issue?
There is already a bug reported for this in Youtrack: https://youtrack.jetbrains.com/issue/PY-20429
As mentioned in the comments there, you can try to profile the CPU usage (instructions here https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems) and report it there. I've noticed that killing all my debuggers, putting it in power save mode and then reverting this helps.
In case you are using docker, be aware that Pycharm has some problems with creating multiple docker instances and not killing them. You will have to kill them manually.
Reinstalling PyCharm fixed this problem for me.
I had the same problem. Reinstalling the PyCharm did not help. I think this problem happens when we have a large project size (also, mentioned in https://youtrack.jetbrains.com/issue/PY-20429). I simply cut some of the folders including some results (txt files) from my project and saved them in another directory. Now, I do not get the "out-of-memory" error and the changes can be committed successfully.
I simply cut some of the folders including some results (txt files) from my project and saved them in another directory. Now, I do not get the "out-of-memory" error and the changes can be committed successfully.
I had the same issue where I keyboard on Pycharm was not responding anymore.
The following solved my issue both on Windows 10 and MacOsx
Click on help on the menu
Create the file when prompted.
Either change the settings to the following or replace the entire content of the file with the following:
What worked for me when I ran into this "Out of Memory" problem was clearing the cache. ("File -> Invalidate Caches / Restart...") It's been a couple days and no further problems. Before, it was happening five or ten minutes after starting PyCharm, even with me not doing anything on PyCharm other than look at it.
I'm running PyCharm Community Edition 2016.1.4 on Windows 7 Enterprise.