Wednesday, May 13, 2015

Dungeon Boss's current memory footprint on iOS

A snapshot of our current memory footprint on iOS, using Unity's built-in memory profiling tool (thanks to Sean Cooper):

Mono       59
Unity      53
GfxDriver  34.4
Textures   29.4
Animations 23.8
Meshes     16.8
FMOD       13
Profiler   12.8
Audio      11.1


Mono heap's allocator is a greedy SOB, and in practice only around 40-50% of its allocated memory contains persistent C# objects. We are going to try tweaking or modifying it soon to be less greedy, because we need the memory.

Also, the Unity heap is relatively huge now so we're going to poke around in there and see what's going in.

No comments:

Post a Comment