software-mansion / react-native-svg

SVG library for React Native, React Native Web, and plain React web projects.
MIT License
7.44k stars 1.12k forks source link

Memory leaks in RNSVGUse getPath? #1385

Open izone-airstream opened 4 years ago

izone-airstream commented 4 years ago

Question

We use RNSVG in our project, everything works perfect except when we are testing the App's performance, the Xcode's Instruments reports memory leaks in [RNSVGUse getPath:], specifically in line 141: return CGPathCreateCopyByTransformingPath(path, &transform);

Screen Shot 2020-05-21 at 9 52 56 am

It looks not influence the functionality yet, but we do want to know if we can further eliminate the leaks.

Our enviroment is: Xcode: 11.3(11C29) iOS simulator: iPhone 11 (iOS 13.3) react-native: 0.61.5 react-native-svg: 12.0.3

Cheers

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

haidermahmood commented 3 years ago

I am having the same issue. As @izone-airstream said memory leaks on [RNSVGUse getPath:].

zuhair-naqvi commented 3 years ago

Same issue, anyone here? Just need to know if this library is still maintained if anyone's looking at the issue tracker :/

Daha62 commented 3 years ago

the same

quetool commented 3 years ago

Same issue!