Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Samsung Galaxy S3 and GPUMEM

Discussion in 'Android' started by LucktasticWill, Apr 28, 2016.

  1. LucktasticWill


    May 27, 2015

    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.

    Last edited: Apr 28, 2016
  2. crispybeans


    Apr 13, 2015
    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 ?