As the Scene Graph grows larger and we, as creators, can develop bigger games more dynamically, I think we need a way to determine when the memory cap is about to be reached, so we can remove any unused entities or scale back certain parts of our games accordingly. I’m currently working on spawning things dynamically. Because I don’t know when the memory will run out, I’m just hopping the game can run at full capacity and not being able to test it.
Test players help a bit with this, but as test players aren’t going to move like players doing very different things it’s sometimes hard to gauge where an issue can come from.
if we could somehow either get a higher memory allocation( unlikely due to the mobile constraints ) or if we could get a visual counter at runtime to show how close we are to the memory cap I think it would help greatly..