PyCharm Running Out of Memory

Reinstalling PyCharm fixed this problem for me.


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

Help -> Edit custom VM options

Create the file when prompted.

Either change the settings to the following or replace the entire content of the file with the following:

-Xms512m
-Xmx2024m
-XX:MaxPermSize=700m
-XX:ReservedCodeCacheSize=480m

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.

Tags:

Python

Pycharm