Memory problem on CCTextureCache and sprites.

Memory problem on CCTextureCache and sprites.
0.0 0


Hi Everyone,

I have a problem with the memory in my project.

I’m using 5 CSprites with the next line:


And for example in my scene with the profiler I have 40M in running time.

When I change of scene calling the OnExit function have:


But when I change the scene replacing the previews. the memory never decrease and when I enter again to the preview scene the memory increase because the 5 sprites that I create.

Im triying to use:
sprite1 = null;


But my memory continue in 40M.

Anyone have an idea?