Hello,
We have users, mostly Samsung Galaxy S3 users running on Android 4.4.2, who are experiencing crashes related to memory, usually GPU memory. We tried to resolve this by downsizing textures by half if we detect similar devices, but that doesn’t seem to be enough. (A lot of our images are downloaded from a cdn at runtime). Has anyone else experienced this, or know of other solutions? We are using the latest patch, 5.3.4p4.
Thanks!
It’s a common issue - even on simple applications some Android devices fails due to memory issues.
Compress textures and keep them compressed in memory/dl compressed versions, optimize the executable size by stripping bytecode not needed, resize the textures until they are very low rez, sacrifice performance for more memory by unloading textures not used and loading them when needed - It will help some.
I don’t know if you can do this but we once did a trick for iOS ( iPhone 3gs ) where we would fill up the memory until we got a memory warning , then we would empty the memory again, we did that a couple of times every time the app started. That caursed the OS to shutdown other processes taking up memory in the background and leaving more memory for the active app. Maybe a similar approach can be done on Android ?
Cheers