[SOLVED] iOS Out of memory issues

Hi,

I keep getting out of memory crashes when I’ve progressed a certain way through our game. It is asset heavy but android for example handles it fine. What can I do? I do also have 5 video assets. My only guess is the previous scenes aren’t being cleaned up.

Thanks

1 Like

yup so iOS definitely is not letting go of assets. and purgeCachedData isn’t doing squat.

Have you read these tread?

yes I have and I realised I needed to add to the autorelease pool any dynamically loaded assets.

cc.loader.setAutoReleaseRecursively(loadedPrefab, true);

Glad to help.

1 Like