react-native-fs icon indicating copy to clipboard operation
react-native-fs copied to clipboard

[iOS] Memory leak when file chunks are read in loops

Open birdofpreyru opened this issue 2 years ago • 3 comments

Hello, @birdofpreyru it also doesn't close on ios as well. When I read chunks in a loop, the memory consumption just keeps on getting higher and higher. Sadly, I couldn't figure out how to close the file on my own.

Originally posted by @ISnowFoxI in https://github.com/birdofpreyru/react-native-fs/issues/10#issuecomment-1757589607

birdofpreyru avatar Oct 11 '23 13:10 birdofpreyru

@birdofpreyru any update on this? I'm not good at swift/obj-c, else I would've raised PR already

sagark1510 avatar Jul 22 '24 06:07 sagark1510

No. The issue is marked as On Hold, meaning I don't actively (plan to) look into it, at the moment. It does not cause much troubles in my projects, and investing my time into resolving it does not look as the best investment of my time, as of now.

birdofpreyru avatar Jul 22 '24 08:07 birdofpreyru

@birdofpreyru I understand. Thank you.

sagark1510 avatar Jul 22 '24 09:07 sagark1510