Are you looking for How to increase the Memory for Pycharm ? Here are few steps . Lets go through them . But before that close the Pycharm IDE / Application and restart after these steps .
How to increase Memory for Pycharm-
Step 1 –
Go to the location on the disk where Pycharm is insatalled . For Windows user here is the default location .
Go to bin directory and open file pycharm64.exe.vmoptions .
This file contains the configuration related to memory area like heap size limit etc . By defaults it looks like –
Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow
Steps 3 –
Change the value for -Xmx750m by -Xmx1024m or -Xmx2048m or as per your requirement . Now you may restart the Pycharm . That’s all.
Another way –
You may do it internally from IDE Pycharm itself . All you need to Go Help ->Find Action ->Edit Custom VM option . It will open the same file as you see in step 3 above . Change the values here and restart the Pycharm .
How it Impact ?
Actually Pycharm’s source code is in java . It will increase the memory size for the heap of JVM ( max limit ) . This will enhance memory limit for Pycharm .
Join our list
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.