"Other" on GS Viewer Memory Usage
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?
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
-
EatingMyHat Posts: 1,246
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
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
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.
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.