Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal OOM exception in React on image load #278

Closed
mshmsh5000 opened this issue May 5, 2016 · 2 comments
Closed

Fatal OOM exception in React on image load #278

mshmsh5000 opened this issue May 5, 2016 · 2 comments

Comments

@mshmsh5000
Copy link

Related: facebook/react-native#6799

crash-oom

@mshmsh5000
Copy link
Author

I have a feeling that android:largeHeap="true" is a band-aid fix. The permanent fix may involve changes to how we handle bitmaps.

@mshmsh5000
Copy link
Author

android:largeHeap="true" makes garbage collection slower and might mean a less snappy app.

mshmsh5000 added a commit that referenced this issue May 5, 2016
Adds `largeHeap="true"` to request more memory for the app, bypassing the OOM exception we're seeing when rendering large bitmaps.
@lkpttn lkpttn closed this as completed Sep 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants