A quick question here. I'm compiling a fairly big WAR in IntelliJ 2016.1.1
with Java 8
. I'm using a Tomcat plugin in Ultimate edition. Everything runs on 64 bit Windows 8 machine.
I'm getting java.lang.OutOfMemory error: GC overhead limit exceeded
I've increased the Xmx/Xms parameters in idea64.exe
.vmoptions Now it looks like:
-Xmx4096m
-Xms1024m
-XX:MaxPermSize=350m
-XX:ReservedCodeCacheSize=240m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
But it seems like its in Java compiler itself, so apparently it didn't help Somehow I can't find the correct way to declare that. I'd appreciate if someone could show me how to do that correctly.
Thanks and have a nice day