react-native-pdf
react-native-pdf copied to clipboard
Memory issue
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?
Video with bug reproducing https://drive.google.com/file/d/1ayV11whWxjMy1bowx1MuTXqpgPgYPT5A/view?usp=sharing
any solution for this issue ? me facing too