GRizzi91 / bouquet

PDF reader Android library based on Jetpack Compose
Apache License 2.0
151 stars 32 forks source link

High Memory consumption #47

Open XBlack97 opened 1 year ago

XBlack97 commented 1 year ago

the code runs well, after repeated opening of local file, the app unexpectedly hangs & closed, i ran it through profiler and on opening local file there was a high spike of memory use, took a dump to check which code is causing the high memory usage, i could trace to Page Class in the BouquetPdfRender.kt file

Screenshot 2023-08-16 at 5 09 20 PM
Screenshot 2023-08-16 at 5 12 26 PM