GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Freeing up memory?

helpingtogrowhelpingtogrow Posts: 72Member, PRO

I have an app that is very memory hungry with lots of images, tables and sounds. Is
there any way I can periodically free up memory to stop the problems of missing images
and sounds etc. from happening?
Thanks.

Comments

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,551Member

    Consider using multiple or more scenes. If you use multiple scenes, the previous scene and its contents is thrown out of memory when a new scene is loaded.

  • ArmellineArmelline Posts: 4,800Member, PRO

    @helpingtogrow said:
    I have an app that is very memory hungry with lots of images, tables and sounds. Is
    there any way I can periodically free up memory to stop the problems of missing images
    and sounds etc. from happening?

    Are you sure it's memory that's the issue? iOS is very good at managing memory and when it gets too full and iOS can't clear enough out to continue the game normally just crashes. I've never seen missing images or sounds caused by lack of memory before, though can't say it never happens.

  • bob loblawbob loblaw Posts: 383Member, PRO

    i’ve got missing images from time to time after interstitial ads using admob (only started happening after one of the recent publishing updates). the actors are there, but images turn up blacked out after an ad or two.

  • adent42adent42 Posts: 1,448Key Master, Head Chef, Executive Chef, Member, PRO GameSalad Employee

    PM me a publishing link to the game so we can take a look. I imagine it's related to the move to all 64-bit if it's new. We didn't see any issues, but we also didn't do a lot of stress testing, just ad network / service testing.

Sign In or Register to comment.