Why does sbt compile fail with StackOverflowError?

后端 未结 8 1254
孤独总比滥情好
孤独总比滥情好 2021-01-31 15:30

I am working on a Scala project that has been in existence for a few years but is new to me. My task is to upgrade it from Scala 2.9.3 to 2.11.7, along with its dependencies. I

8条回答
  •  后悔当初
    2021-01-31 15:55

    There are multiple Correct Answers already. But what worked for me is below,

    // Created and Added a File: .jvmopts in the Project Root Folder with below Parameters.
    -Xms3022m
    -Xmx4048m
    -Xss124m
    -XX:MaxPermSize=4048m
    -XX:MaxMetaspaceSize=512m
    -XX:+CMSClassUnloadingEnabled
    -XX:ReservedCodeCacheSize=128m
    

提交回复
热议问题