How can I increase the memory heap in pycharm

  1. Help->Find Action->(type "VM Options")->(Click)"Edit Custom VM Options"
  2. Pycharm (2016.2) will open the appropriate vmoptions file (pycharm.vmoptions or pycharm64.options) in the editor before you.
  3. Change -Xmx750m to -Xmx1024m, or whatever size you want. Save it.
  4. Restart Pycharm (File->Exit etc.)

Official 'Increasing memory heap' documentation is here

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


There is a list of memory options in this blog post