Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Gradle build crash sometimes #57

Closed
hanchao opened this issue Mar 31, 2014 · 4 comments
Closed

Gradle build crash sometimes #57

hanchao opened this issue Mar 31, 2014 · 4 comments

Comments

@hanchao
Copy link
Contributor

hanchao commented Mar 31, 2014

Sometime OutOfMemoryError, or like this
image

Seems memory leak. I'm not sure .then the error will be

FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been stopped, killed or may have crashed)
@hanchao hanchao changed the title Gradle build error sometime Gradle build FAILED sometime Mar 31, 2014
@hanchao hanchao changed the title Gradle build FAILED sometime Gradle build crash sometimes Mar 31, 2014
@hjanetzek
Copy link
Member

google: 'gradle PermGen space'. I'll add a note to the readme

@paolodirollo
Copy link

Hi,
to solve this problem, you need to replace this string
"org.gradle.jvmargs=-Xmx1024m" with this
"org.gradle.jvmargs=-XX:MaxPermSize=1024m"
in gradle.properties file, in vtm root.
For me it work.

2014-03-31 15:49 GMT+02:00 Hannes Janetzek notifications@github.com:

google: 'gradle PermGen space'. I'll add a note to the readme

Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-39089922
.

Paolo Di Rollo
RFIdLab Sapienza
Tel: +39 389 1571582
Skype: paolodirollo

@hjanetzek
Copy link
Member

@paolodirollo thank you, this also works for travis. fix is in master

@ZhyneAmenodin
Copy link

Thanks, it helped a lot.

hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
hjanetzek pushed a commit to hjanetzek/vtm that referenced this issue Nov 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants