Search Unity

SetLowMemoryDevice Usage

Discussion in 'Unity Everyplay' started by infinitypbr, Feb 10, 2015.

  1. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Hello! My game uses a lot of RAM. Because of this in many cases i'm nearly maxed out on what Apple will allow, within 5-10mb before the game will force-quit.

    Is using SetLowMemoryDevice() recommended? What changes if I were to use this?

    Thanks!

    Andrew
     
  2. surathunity3d

    surathunity3d

    Moderator

    Joined:
    Sep 30, 2014
    Posts:
    128
    Hi @sfbaystudios

    SetLowMemoryDevice() reduces the buffer lengths in the recording tech.
    It is recommended for low end devices (I am not sure which devices you are testing on).
    But, you would not have to use it if you are using current gen Apple devices.

    Have you tried testing Everyplay on a blank project or profiled your game to see whether your game is leaking memory?

    Cheers
    Surath