mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 12:39:27 +00:00
OSS Gradle: increase JVM heap size
Summary: Increasing memory for building RNTester in Gradle. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D23078460 fbshipit-source-id: 733246a44bd88532796cd40be59aeee366db8ab0
This commit is contained in:
parent
79f305e563
commit
b7d6b325c2
@ -122,6 +122,10 @@ android {
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
javaMaxHeapSize "4g"
|
||||
}
|
||||
|
||||
flavorDimensions "vm"
|
||||
productFlavors {
|
||||
hermes {
|
||||
|
4
gradle.properties
Normal file
4
gradle.properties
Normal file
@ -0,0 +1,4 @@
|
||||
org.gradle.configureondemand=true
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
||||
org.gradle.parallel=true
|
Loading…
Reference in New Issue
Block a user