I am using pycharm and its memory shown at bottom right corner is 750M. I could not find any setting where I can increase that. Where do I increase that memory. I am using version 3.4.
I searched a lot but could not find from Google as well
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityI am using pycharm and its memory shown at bottom right corner is 750M. I could not find any setting where I can increase that. Where do I increase that memory. I am using version 3.4.
I searched a lot but could not find from Google as well
Under the /bin
directory of your pycharm installation, there is a file pycharm.vmoptions
. You can use this to customize the options that are passed to the JVM. The maximum heap size should be given by
-Xmx750m
There is a list of memory options in this blog post
-Xmx750m
to -Xmx1024m
, or whatever size you want. Save it.Rather than manually searching for the right files, you can (at least in PyCharm 5) now just search for or navigate to "Edit Custom VM Options" and it will create and open a default vmoptions file for you, as described in https://www.jetbrains.com/pycharm/help/tuning-pycharm.html. Then,
To increase PyCharm heap size, ... modify the -Xmx setting.
EDIT: I don't know why, but this process created a pycharm64.vmoptions
file for me and that didn't actually change the heap size (as indicated in the bottom right "Show memory indicator"). I actually had to rename that file to pycharm.vmoptions
for it to work.
Go to /JetBrains/PyCharm 5.0.1/bin
There will be two files in case of 64bit version. pycharm.vmoptions and pycharm64.vmoptions.
Increase the Heap and Perm Size
-Xms256m
-Xmx1024m
-XX:MaxPermSize=512m
Note: You can increase it according to your system configuration. So do it wisely: if PyCharm doesn't open for you, it means that you over-specified the memory. I thought it wasn't working for me because of a pending restart, but wasn't working after restart either. Just open the 'vmoptions' files and bring down the values iteratively until PyCharm launches.