Comments (2)
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:
#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
from yodaqa.
Thanks @pasky for so quick reply. It helped!
from yodaqa.
Related Issues (20)
- Labels service down HOT 5
- End of life for the Azure Data Market "Bing Search" and "Bing Web Results Only" API HOT 2
- ./gradlew web -q Failed HOT 8
- Travis config
- Waiting until AnalysisEngine is finished before continuing HOT 1
- Sorry, mistakenly created an issue
- ./gradlew check or ./gradlew run failed HOT 1
- Solr version in enwiki instructions HOT 2
- Demo server is down HOT 9
- http://yodaqa.felk.cvut.cz/dbp-labels2 has an error! HOT 1
- Blank nodes and Rectification statement
- Server returned HTTP response code: 502
- Build failed : ResourceInitializationException: Initialization of annotator class
- Solr configuration on local machine - Error while loading solr
- Docker image for freebase
- Can acquire resource at "http://yodaqa.felk.cvut.cz/dbp-labels1" HOT 2
- Can't run labels docker container
- Connect to http://ailao.eu failed. HOT 3
- No Answer On Demo Sites? HOT 3
- Dependencies causes CVEs in your execution path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yodaqa.