Hello I want ask what are de best Inellij Setting ...
# intellij
m
Hello I want ask what are de best Inellij Setting to get more Performance my setttings are the following at the moment
Copy code
-Xms1024m
-Xmx2048m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-XX:CICompilerCount=2
-Dsun.io.useCanonPrefixCache=false
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Djdk.attach.allowAttachSelf=true
-Dkotlinx.coroutines.debug=off
-Djdk.module.illegalAccess.silent=true
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8

-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
On a
stackoverflow 2
m
Just adding heaps of memory should be fine. My limit is 24G but it rarely uses more than 3G.
­čĹŹ 1
t
careful with too much heap especially on non xeon intel parts. the cpu cache isn't big enough to handle massive pools of RAM very well