Hi,
For the first time I got this error message from an user:
Doing the same on my tablet, it works. Same memory, same brand, only older TabA7 (android 11), user has TabA8 (12)
I have searched for memory management and I found this as a Manifest setting:
Some questions:
- Will this setting helps on the tablet of the user?
- Google does advise to not use this setting, so what to do?
- This is not an Pages project. Will Pages has another memory management and should I do a migration?
- The error exists mostly on images. This is not an image project. Just CLV and text. I do use png on buttons. These are about 750bytes each. Will a lower quality has effect?
Thanks for helping me.
Kind regards,
André
For the first time I got this error message from an user:
B4X:
java.lang.Exception: java.lang.OutOfMemoryError: Failed to allocate a 24 byte allocation with 141952 free bytes and 138KB until OOM, target footprint 201326592, growth limit 201326592; failed due to fragmentation
Doing the same on my tablet, it works. Same memory, same brand, only older TabA7 (android 11), user has TabA8 (12)
I have searched for memory management and I found this as a Manifest setting:
B4X:
SetApplicationAttribute(android:largeHeap, "true")
Some questions:
- Will this setting helps on the tablet of the user?
- Google does advise to not use this setting, so what to do?
- This is not an Pages project. Will Pages has another memory management and should I do a migration?
- The error exists mostly on images. This is not an image project. Just CLV and text. I do use png on buttons. These are about 750bytes each. Will a lower quality has effect?
Thanks for helping me.
Kind regards,
André