lohanidamodar / pdf_viewer

A flutter plugin for handling PDF files. Works on both Android & iOS
https://pub.dev/packages/advance_pdf_viewer
BSD 3-Clause "New" or "Revised" License
61 stars 143 forks source link

iOS Memory leak #93

Open mlf2020 opened 2 years ago

mlf2020 commented 2 years ago

-(NSString)getPage:(NSString )url ofPage:(size_t)pageNumber, this func lead to a Memory leak on iOS, and 'CGFloat dpi = 300.0 / 72.0;' this code set dpi to 300 is too large, on iPhone6 crashed when i preview a large pdf file.

nimisharanipabacancy commented 2 years ago

Facing same issue in iPhone 8 - iOS software 14.8 Storage 62.1 GB out of 64 GB