I have a PDF document, which causes crash of my application. This crash is very specific, because there is no error message in LogCat.
I have tested this PDF on your application from Google Play (Radaee PDF Reader) and also on your demo application, which is included in 3.2Beta4 SDK. Both of these applications crashed as well.
Link to this PDF: www.dropbox.com/s/0oi16fuc2ezf013/PDFAppCrash.pdf?dl=0
Can you solve this issue, please?
Thanks a lot.
I tried on Samsung Galaxy S3 with Android 4.4.4 and Motorola Xoom 4.0.4.
This crash is specific only for "older" devices, which have a smaller heap space. On some devices, like Samsung Galaxy S4, it works fine.
Application crash on devices, which have heap size 64MB and lower. Galaxy S4 has heap size 128MB and it works fine on this device.
Galaxy S3 has 64MB heap size and Motorola Xoom has only 32MB.
memory total size are key point, this PDF file has handards of large(about 2000 * 2000 pixels) images.
as normally, native library store all images in memory cache.
the current logic is: when cache exceed 400M then release the new rendered image.
it is balance considering between zooming speed and memory space.