Where to call CCDirector::sharedDirector()->purgeCachedData() in android

Where to call CCDirector::sharedDirector->purgeCachedData? If I call at every screen transition screen transition; won’t be smooth. If I occasionally with in few screen transition game hangs. I am not doing app will crash. In IOS I can easily do it byapplicationdidirecievedmemorywarning_ But how can do it same in android, is doing it inapplicationwillgobackground_ fine? What is the usual/tested way of texture memory releasing in android?

I don’t think we must call purgeCachedData, it can be autoreleased in my opinion

I got crash in some of the android devices due to textures are accumulating and not getting released.

This is the crash report.