安装目录 bin下面idea.vmoptions -Xms512m -Xmx2048m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=1024m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -XX:ErrorFile=$USER_HOME/java_error_in_pycharm_%p.log -XX:HeapDumpPath=$USER_HOME/java_error_in_pycharm.hprof -Xbootclasspath/a:../lib/boot.jar-Dawt.usesystemAAFontSettings=lcd -Dawt.java2d.opengl=true idea.vmoptions 加上面红色的字行,存盘,退出,重启idea |