Answers for "R8: java.lang.OutOfMemoryError: GC overhead limit exceeded react-native"

0

R8: java.lang.OutOfMemoryError: GC overhead limit exceeded react-native

Add this line to gradle properties file

org.gradle.jvmargs=-Xms128m -Xmx1024m -XX:+CMSClassUnloadingEnabled
Posted by: Guest on August-13-2021
0

R8: java.lang.OutOfMemoryError: GC overhead limit exceeded react-native

android {
//snip
//add this into your existing 'android' block
 dexOptions {
 javaMaxHeapSize "4g"
 }
//snip
}
Posted by: Guest on August-13-2021

Code answers related to "R8: java.lang.OutOfMemoryError: GC overhead limit exceeded react-native"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language