Stackoverflow ERROR, Trying to pass jvm options from Help> Edit Custom VM Options.

Hello all,

I am trying to pass below JVM options(Pasted at the end of this Question) in IntelliJ IDE to work on an Sbt project which I was able to build successfully with the following options in sbtconf file -Xmx2G -XX:MaxPermSize=1000m -XX:ReservedCodeCacheSize=1000m -Xss8M and sbtpackage, sbtassembly.

 

Now I am trying to run the main method in one of my script's and its Erroring out with StackOverflow Error even though after adding the below options in the idea64.exe.vmoptions file. 

Is there anything I am doing wrong or missing?

# custom IntelliJ IDEA VM options

-Xms128m
-Xmx2G
-Xss8M
-XX:ReservedCodeCacheSize=1000m
-XX:MaxPermSize=1000m
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-Djdk.http.auth.tunneling.disabledSchemes=""
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow


Asked the same question here also:
https://stackoverflow.com/questions/56066899/how-to-fix-the-error-org-jetbrains-jps-incremental-scala-remote-serverexceptio/56067772#56067772

Thanks, Pavan

评论操作 固定链接

StackTrace for the above question:

Error:scalac: Error: org.jetbrains.jps.incremental.scala.remote.ServerException
java.lang.StackOverflowError

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.transform(TailCalls.scala:273)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.transform(TailCalls.scala:209)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.noTailTransform(TailCalls.scala:214)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.transform(TailCalls.scala:403)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.transform(TailCalls.scala:209)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.noTailTransform(TailCalls.scala:214)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.transform(TailCalls.scala:403)

    at scala.tools.nsc.transform.TailCalls$TailCallElimination.transform(TailCalls.scala:209)

    redacted...
0

请先登录再写评论。