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

Terminated due to memory issue

Open Burak07 opened this issue 9 years ago • 0 comments

Since on IOS scrolling does not work I tried to use component with pageNumber prop. But it caused memory issue(memory leak i guess). these are my logs . . 2016-08-29 10:08:43.277 project1[979:228068] -[TiledPDFView drawLayer:inContext:] myScale:0.962681 2016-08-29 10:08:43.286 project1[979:228068] -[TiledPDFView drawLayer:inContext:] myScale:0.962681 2016-08-29 10:08:43.304 project1[979:228076] -[TiledPDFView drawLayer:inContext:] myScale:0.962681 Message from debugger: Terminated due to memory issue

It logs [TiledPDFView drawLayer:inContext:] myScale:0.????? this line more than 10times every time after setState({pageNumber})

thanks.

Burak07 avatar Aug 29 '16 07:08 Burak07