Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29606

Gradle build daemon disappeared unexpectedly in CircleCI

$
0
0

I use react-native on android. Everything was fine until I upgraded to latest version (0.59.4).

The build keeps failing with "Gradle build daemon disappeared unexpectedly" error on CircleCI. It works fine on local.

I know it's a memory issue and have tried multiple ways to set the java opts and stuff.

environment:
      _JAVA_OPTIONS: '-Xms512m -Xmx3g'
      GRADLE_OPTS: '-Xmx3g -Dorg.gradle.daemon=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError"'

Also tried with setting in gradle.properties. None of it is working.


Viewing all articles
Browse latest Browse all 29606

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>