-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
<Image> take up a lot memory on Android #17801
Comments
I am writing a demo for this, would post link here soon. |
Demo App (React Native 0.52) with
|
This is an interesting bug, will try to reproduce the issue. |
@gedeagas Thanks! |
demo app video is done: |
@aknad Thanks! would try. |
I hope someone can take a look into this issue fast, |
btw, not sure this high memory problem is with FlatList? if want try the old app I mention above, you can download here: https://www.coolapk.com/apk/com.crashcourse.china.c17 it's not on Google Play Store. |
Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version? I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer. |
I don't have time to retest this in 0.53. |
I can confirm this is an issue in 0.53. Using |
@mattmcdonald-uk so in 0.53, iOS doesn't have this problem, but Android still does? |
@1c7 Exactly |
@react-native-bot reopen |
Something went wrong executing that command, @hramos could you take a look? |
@mattmcdonald-uk please refer to #13413, so that we avoid redundancy - the core team is aware of this Android+Flat/SectionList+Images issue (going to write a follow up there). |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Steps to Reproduce
(I am using
react-native-image-crop-picker
for Android<FlatList>
Expected Behavior
it doesn't take that much memory and cause app crash.
Actual Behavior
take about 400mb to 600mb memory. then my app crash
Reproducible Demo
Video demo(2 minute 38 second): https://youtu.be/zL1heevcWpk
I am writing a demo using RN 0.52, would post it here once it done
Here is Image( I also post them in [0.48.3][Android] render big size image lead to crash #17142)
369MB memory and keep growing to 400+mb
Thanks for reading 😄
The text was updated successfully, but these errors were encountered: