gpasse gpasse - 2 months ago 51
React JSX Question

Out of memory Application crash React Native

Using React Native 0.33
After some seconds, the application stops (only tested on Android)

Looking at the android logs I get :

enter image description here

I have no idea how to examine the problem.

Answer

this fixes my issue:

Add this to your "android/app/src/main/AndroidManifest.xml"

<application android:largeHeap="true"

ref: https://github.com/facebook/react-native/issues/6799