hoanglam10499 / react-native-drop-shadow

https://www.npmjs.com/package/react-native-drop-shadow
MIT License
229 stars 9 forks source link

Memory leaks? #23

Open mamartin opened 1 year ago

mamartin commented 1 year ago

hi, it looks like there is a memory leak in this library. I have a list 10 items with a shadow, these items rerenders/changes over the time. The memory is constantly increasing and finally the app crashes due to low memory. Without this shadow the memory does not grow.

with drop shadow:

image

without drop shadow:

image
lelukas commented 1 year ago

hey, what tool is this for checking memory usage?

mamartin commented 1 year ago

Hey @lelukas, these screenshots of memory usage are from Android studio.

GabeJing commented 7 months ago

Hey @mamartin,is the problem solved?

mamartin commented 7 months ago

Hi @GabeJing, i dont think its fixed since there is no reply. I had to stop using this library because of this as i need my app to run very long (weeks).

GabeJing commented 7 months ago

@mamartin Did you use any other alternatives?

mamartin commented 7 months ago

@GabeJing no