0%

Idea修改内存

Mac Idea修改内存

配置文件路径:

/Users/linjian/Library/Preferences/IntelliJIdea2019.1/idea.vmoptions

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-Xms1024m
-Xmx2048m
-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_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-javaagent:/Applications/IntelliJ IDEA.app/Contents/bin/JetbrainsCrack.jar

Idea内存显示

5d0b0160f352f54398

5d0b2964d7a3523201