You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I get an out of memory executing FPDF_RenderPageBitmap (to generate thumbnails of pdf cover) with large pdf files (above 100mb or even smaller with non-rasterized text).
However, the same documents do not crash for instance using readera https://readera.org/en/book-reader
and artifex's mupdf https://github.com/ArtifexSoftware/mupdf-android-viewer.
I'm calling directly the native function mentioned above using dart:ffi but I think that's an issue of pdfium itself and using the JNI also reproduces the issue.
Is there a way to prevent this handling how the memory is used in the native library itself ?
I think mupdf on readera do not crash (on the same device, android 5.0.2, 1gb ram) also because the native lib is executed as static/standalone, do you have any comment about that ?
thanks
(Thomas)
The text was updated successfully, but these errors were encountered:
Hello, I get an out of memory executing FPDF_RenderPageBitmap (to generate thumbnails of pdf cover) with large pdf files (above 100mb or even smaller with non-rasterized text).
However, the same documents do not crash for instance using readera https://readera.org/en/book-reader
and artifex's mupdf
https://github.com/ArtifexSoftware/mupdf-android-viewer.
I'm calling directly the native function mentioned above using dart:ffi but I think that's an issue of pdfium itself and using the JNI also reproduces the issue.
Is there a way to prevent this handling how the memory is used in the native library itself ?
I think mupdf on readera do not crash (on the same device, android 5.0.2, 1gb ram) also because the native lib is executed as static/standalone, do you have any comment about that ?
thanks
(Thomas)
The text was updated successfully, but these errors were encountered: