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
I'd like to ask how you built the library. In the "include/mupdf/fitz/context.h" file there is an option for FZ_STORE_DEFAULT which is 256MB. I'm using the mupdf module of your code, and as I keep opening pdf-s, the generated Bitmaps byte[] never seems to free up.
As far as I can tell, mupdf caches the generated Bitmaps until it's size reaches the FZ_STORE_DEFAULT value, which is far greater than an Android OS accepts, as the OS will shut down the app around 180MB.
Did you change that value to a lower value, and I'm doing something wrong, or should I just change it in my code, and rebuild the whole project?
Any help is appreciated!
Thank you!
The text was updated successfully, but these errors were encountered:
Hello!
I'd like to ask how you built the library. In the "include/mupdf/fitz/context.h" file there is an option for FZ_STORE_DEFAULT which is 256MB. I'm using the mupdf module of your code, and as I keep opening pdf-s, the generated Bitmaps byte[] never seems to free up.
As far as I can tell, mupdf caches the generated Bitmaps until it's size reaches the FZ_STORE_DEFAULT value, which is far greater than an Android OS accepts, as the OS will shut down the app around 180MB.
Did you change that value to a lower value, and I'm doing something wrong, or should I just change it in my code, and rebuild the whole project?
Any help is appreciated!
Thank you!
The text was updated successfully, but these errors were encountered: