I'm running into some memory problems when running my game on the ipad.
I've now profiled the game inside the simulator. there the memory problems will of course not occur.
one thing I noticed is that the used memory will always grow, but never decrease.
it's like this:
in the game menu: 30MB
inside a level: 200 MB
back in the game menu: 200MB
it's not a leak. after starting as this amount will not increase after starting the level again.
it'S just like the textures are not unloaded. so if I start different levels they will all contribute to the overall memory consumption, even though they might not be active.
is this intended?
if so is there a way to clear the currently unused textures?
I know that I have to do something against my memory consumption generally
currently I'm packaging all the textures of the animations into huge power-of-two textures. however I guess this will not be enough. I already though about extending orx with support of compressed textures.