React-native-fast-image: iOS memory leaks when render WebP images

Created on 25 Oct 2020  ·  5Comments  ·  Source: DylanVann/react-native-fast-image

Describe the bug
I use the library to render WebP images inside FlatList. Number of images about 100.
Have see memory leaks like described here #622 and here #560

Looks like issue connected with [SDWebImage/SDWebImageWebPCoder] (discussion here)(https://github.com/SDWebImage/SDWebImageWebPCoder).

To Reproduce
Render WebP images inside your application.

Expected behavior
No memory leaks while WebP images are rendering.

Dependency versions

  • React Native version: 0.63.3
  • React version: 16.14.0
  • React Native Fast Image version: 8.3.2
bug

All 5 comments

Hi, We've been dealing with a memory leaks reports from sentry related with SDWebImage and SDWebImageDownloaderOperation

Have you considered to upgrade SDWebImage and SDWebImageWebPCoder to the latest version?

Of course,
I've created an issue here to update dependencies in the future.

There is an issue https://github.com/SDWebImage/SDWebImageWebPCoder/issues/46

有解决办法吗?同求
Is there a solution? Seeking the same

有解决办法吗?同求
Is there a solution? Seeking the same

No yet. I think you can put +1 here

How are you guys even getting WebP to work? I'm on 8.3.4 and I can't even load WebP images.

Was this page helpful?
0 / 5 - 0 ratings