About Cocos2d_x Switching scenarios Memory Crash in IOS。。。help me


#1

Win32 version of the run is no problem, only more than 60 MB of memory, but on the IOS platform, no switch a scene memory will increase。
`void GardenScene::onExit()
{

CCDirector::sharedDirector()->purgeCachedData();
CCLayer::onExit();

}`

How can you reduce memory? I feel is the time to switch scene, no release of memory.