Hi all,
We are profiling memory usage on our upcoming game.
Here’s one problem that we encountered that we can’t wrap our head around:
First test:
- Profile memory usage on our game in current state. When loading, the peak memory usage recorded is 24.6MB. After loading is done and the game enters a level, memory usage goes down to 13.9MB
Second test:
- Profile memory usage on our game in current state, with 4 additional 1024 * 512 PVRT 4bit textures. When loading, the peak memory usage recorded is 31.26MB. After loading is done and the game enters a level, memory usage goes down to 14.3MB.
From these two tests, it seems that the addition of 4 textures added about 6MB overhead to memory usage.
This causes the game to exceed 30MB peak memory usage, and in turn makes the game pretty unstable with high chance of crashing while loading.
-
Can anyone help shed some light on the extra memory overhead?
-
Are there any workarounds for this?
Thank you!