YanYuanFE / react-native-signature-canvas

:black_nib: React Native Signature Component based WebView Canvas for Android && IOS && expo
MIT License
425 stars 151 forks source link

Memory RAM usage : 50-60MB added and never emptied #201

Open spinoops opened 2 years ago

spinoops commented 2 years ago

Hi,

I have some crash problems in my App. When I tried to debug it, I saw that it came sometimes out of memory.

In Android Studio Profiler, my App always works with 100MB of memory approximately. But when I open the screen with SignatureScreen component, it adds 50-60MB in the memory and it is never emptied except when I close the app.

Is there something that I have to do to empty this part of memory when I'm not in SignatureScreen?

I can put some code to help but it's just a normal screen with code in your example.

Thanks for your answer and best regards.

Android 10 API 29
"react-native": "0.64.2",
"react-native-signature-canvas": "^4.3.0",
alanschwarz commented 2 years ago

Did you find a solution to this issue?