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

Memory issue

Open DimaGavrushko opened this issue 3 years ago • 2 comments

What react-native version are you using? 0.62.2

What react-native-pdf version are you using? 6.2.0

What platform does your issue occur on? (android/ios/both) IOS

Describe your issue as precisely as possible : When changing the screen orientation several times in a row on the screen with pdf, my application just closed with error "Message from debugger: Terminated due to memory issue". As far as I understand, when we rotate the screen, the old pdf is still in memory, but the new one also starts to load. and if you do this several times in a row, then the memory will simply run out.

Show us the code you are using? image

DimaGavrushko avatar Sep 15 '20 12:09 DimaGavrushko

Video with bug reproducing https://drive.google.com/file/d/1ayV11whWxjMy1bowx1MuTXqpgPgYPT5A/view?usp=sharing

DimaGavrushko avatar Sep 15 '20 12:09 DimaGavrushko

any solution for this issue ? me facing too

rezaarifian avatar Mar 24 '22 06:03 rezaarifian