Closed karimkhanp closed 9 years ago
The maximum heap size is defined in build.gradle. Please try decreasing it there, maybe to something like 2500m.
On Thu, Dec 18, 2014 at 07:17:37AM -0800, Karimkhan wrote:
Hi, thanks for this code. While testing this code on 8GB, core i3 system. Facing this issue:
./gradlew run -q Invalid maximum heap size: -Xmx4500m The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':run'.
Process 'command '/usr/lib/jvm/java-7-openjdk-i386/bin/java'' finished with non-zero exit value 1
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
2 . -------
JAVA_OPTS="-Xms1024m -Xmx2048m" ./gradlew run -q Invalid maximum heap size: -Xmx4500m The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':run'.
Process 'command '/usr/lib/jvm/java-7-openjdk-i386/bin/java'' finished with non-zero exit value 1
- Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Obviously there is no issue regarding code, but in assigning RAM. I checked 'gradlew' executable, but could not find where is the limit for '4500m' is defined.
Could you please suggest any suggestion for this?
Reply to this email directly or view it on GitHub: https://github.com/brmson/yodaqa/issues/3
Petr Baudis
If you do not work on an important problem, it's unlikely
you'll do important work. -- R. Hamming
http://www.cs.virginia.edu/~robins/YouAndYourResearch.html
Thanks @pasky for so quick reply. It helped!
Hi, thanks for this code. While testing this code on 8GB, core i3 system. Facing this issue:
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':run'.
2 . -------
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':run'.
Obviously there is no issue regarding code, but in assigning RAM. I checked 'gradlew' executable, but could not find where is the limit for '4500m' is defined.
Could you please suggest any suggestion for this?