-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any Solution for java.lang.StackOverflowError - build-optiml #32
Comments
hi Lerato, Try using one of the smaller memory configurations, e.g. java -Xmx2g -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m -jar and compiling one sbt project at a time: sbt If you still get errors, let us know what they say. Unfortunately the best, On 7/9/13 5:14 AM, leratojeffrey wrote:
|
Unfortunately, optiml-apps will not compile, even with the above strategy. Everything else seemed to compile fine. |
optiml-apps require even more memory and resources than the others, but they will compile when you have enough. A workaround would be to remove all apps from the apps/ folder except the one(s) you are interested in compiling. |
Tried the following SBT config scripts:
java -Xmx2g -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m -jar
dirname $0
/sbt-launch.jar "$@"java -Xmx1g -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m -jar
dirname $0
/sbt-launch.jar "$@"When I try these SBT configs:
java -Xmx2g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=128m -jar
dirname $0
/sbt-launch.jar "$@"java -Xmx3g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=128m -jar
dirname $0
/sbt-launch.jar "$@"I get the following SBT Error:
...
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
...
This one is probably because I only have RAM=3G on an intel Core 2 Duo without a GPU.
Can anyone please help with java.lang.StackOverflowError or Do I need to upgrade my system? Please advice.
Regards
Lerato
The text was updated successfully, but these errors were encountered: