Intellij 기본 vm 설정은 턱없이 낮다.
[~/Library/Preferences/IntelliJIdea2018.1] cat idea.vmoptions
-Xms100m
-Xmx750m
-XX:ReservedCodeCacheSize=240m
-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
-Xbootclasspath/a:../lib/boot.jar
->
Intellij 설치하면 바로 jvm 메모리 설정을 변경할 것!!
-Xms1024m
-Xmx6144m
-XX:ReservedCodeCacheSize=240m
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
-Xbootclasspath/a:../lib/boot.jar
'general java' 카테고리의 다른 글
spring boot 2의 test 종류 (0) | 2019.03.31 |
---|---|
[debezium] 일반적인 설정 (0) | 2019.03.21 |
java.io.IOException: Unable to open "edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger" as class path, filename or URL 해결하기 (0) | 2018.10.17 |
리눅스 장비에서 사용 중인 jenkins plugin 목록 뽑기 (0) | 2018.09.12 |
spring logback json 출력 (0) | 2018.08.20 |