Open
Description
Description
When an SVG image has a filter tag, it causes a memory leak on iOS and requires significant RAM and CPU to render on both Android and iOS. I noticed this happening also on the old arch apps
iOS
ios_memory_leak.mov
Android
android_too_much_memory.mp4
Steps to reproduce
- Run the demo app
- Tap on show svg
Snack or a link to a repository
https://github.com/roni-castro-shipt/react-native-svg-memory-leak
SVG version
15.12.0
React Native version
0.79.1
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
iOS simulator
Device model
No response
Acknowledgements
Yes