"Other" on GS Viewer Memory Usage

MetzoPainoMetzoPaino Member Posts: 195
edited May 2012 in Working with GS (Mac)
Do we know that the "Other" is on the GameSalad memory usage is?

I'm trying to finish up my app, but every 5 seconds or so there is a brief hitch. I thought it was the art, got the art down to 5MB and it's still there. Thought it was the sound, removed the sound, and it's still there. People have said their app Memory Usage has been down to around 30MB for similar projects, but I don't know how that's possible when the GS engine is taking up around 15MB and Other 10MB.

Any help?

Best Answer

  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    I managed to get 'Other' to as high as 180mb without any issues on the device (even 3GS).

    Game Engine at 15mb is safe, it will crash once you try to hit 50mb.

Answers

  • IsabelleKIsabelleK Member, Sous Chef Posts: 2,807
    Nobody really knows, but don't think about it - it appears only in the Viewer.
  • MetzoPainoMetzoPaino Member Posts: 195
    Thanks for clearing that up @TheMoonwalls & @EatingMyHat

    At worst my game memory total is 70-80MB and at best 40-50MB depending on how it feels. (Sometimes my audio gets sent to GS Viewer as 15MB, sometimes as 30MB). The Engine never gets past 25MB.

    I was hoping i might have been doing something wrong and Other should be tiny, because there is this hitch during gameplay that I've been unable to remove. (I'm using a 3GS for testing). It's like a brief drop from 30fps+ to 15-20fps, really spoils the feel.

    I'm starting to think it might just be some rogue logic perhaps? But I've got barely any constraints, only what is essential, so I'm not sure what I can do. My images aren't fully optimised (as in there dimensions are bigger than they really need to be) but Image usage is only around 5MB. I'm really out of ideas :/
  • EatingMyHatEatingMyHat Member Posts: 1,246
    At worst my game memory total is 70-80MB and at best 40-50MB depending on how it feels. The Engine never gets past 25MB.
    LOL... my game is higher than that before it even starts :D

    Audio sounds a bit excessive... 15mb-30mb is huge (about 8 high quality MP3 songs???), you might want to check that. Image usage for me is 11mb in average, never caused me any issues.

    On FPS, if you get below 20, it is not good (even 20+ is marginal), but it is not memory that causing your FPS to drop. I got as high as 190mb for total memory with 30fps+ and no hiccups. I would definitely vote for logic and Audio as the place to look.



  • MetzoPainoMetzoPaino Member Posts: 195
    I can't sacrifice the audio (I'm a musician). My game has nice fades between tracks, so for them to be in time they need to be playing all the time as sound files rather than music files. However I don't think audio is the issue because when I remove it all from the project itself, then run GS Viewer it still hitches.

    What should I look for with audio problems? My only idea at the moment is to turn everything off and on and see what changes. :(
  • EatingMyHatEatingMyHat Member Posts: 1,246
    If you still have issues with all Audio out of the project, you will need to optimize your logic.
Sign In or Register to comment.