phonegap / build

This is the public repository for PhoneGap Build source and bug tracking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random Error: Not enought RAM: The Gradle daemon needs a larger heap

VanVan opened this issue · comments

The compilation servers need more RAM. This error occurs 4 times out of 5.
1 times out of 5, everything works well.

`To run dex in process, the Gradle daemon needs a larger heap.
It currently has 2048 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 4608 MB (based on the dexOptions.javaMaxHeapSize = 4g).
To do this set org.gradle.jvmargs=-Xmx4608M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000076f100000, 62914560, 0) failed; error='Cannot allocate memory' (errno=12)
:transformClassesWithDexForArmv7Release FAILED`

hmm not good. currently checking this out.

Any news about it ?

Hello,
Same trouble here.
Unable to build my app under phonegap build.

EDIT:
I'm now able to build with this config:


  <preference name="phonegap-version" value="cli-7.0.1"/>
  <preference name='pgb-builder-version' value='1' />

Hope this can help

Any update on this? Same trouble here.