react-native-cached-image icon indicating copy to clipboard operation
react-native-cached-image copied to clipboard

Memory issues after upgrading react/react-native version

Open bitshadow opened this issue 5 years ago • 3 comments

Looks like after upgrading the react-native and react versions app started crashing because of the memory leaks. I did the profiling which shows something like this. I am using around 12+ images in the app.

Screenshot 2019-03-15 at 3 34 58 PM

In older version of react/react-native it seems to work fine and occupies around ~11Mb of data.

    "react": "16.3.1",
    "react-native": "0.55.3",

This is how it looked before. https://medium.freecodecamp.org/finding-memory-leaks-react-native-app-ios-46e6eeb50c8c

bitshadow avatar Mar 15 '19 10:03 bitshadow

@bitshadow I read your article. exactly we have the same issue with react-native-fast-image. based on your issue here, is this library a good alternative choice to use in RN 0.57 ?

ammoradi avatar Apr 10 '19 13:04 ammoradi

We're also experiencing the same memory issue: Using RN 0.58.6

With cached-image: Screen Shot 2019-06-20 at 11 13 00 AM

Without cached-image: Screen Shot 2019-06-20 at 3 23 43 PM

Any update on this?

bumpingChris avatar Jun 20 '19 16:06 bumpingChris

Following this since I wanted to update in the coming months...

wumke avatar Jul 11 '19 12:07 wumke