memory useage

adam_b_ukadam_b_uk Member Posts: 50
are there any kind of guidelines for how much memory your game should use on different devices?

im testing on an 2nd gen ipod touch and using between 10-16mb of memory at the minute and its a fairly small game so im getting worried about how much i should be using!

thanks!

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    For those, I think you have until around 30 - 40mb memory used before it crashes.
  • ShanemcShanemc Member Posts: 86
    What about iPad would it be around 40 as well?
  • adam_b_ukadam_b_uk Member Posts: 50
    ah cool, thanks for the info guys.

    i was wondering about it because there is a lot more loading time than i want between scenes and i was wondering if that could be because of the device im testing it on being pretty old?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    That's probably a processor issue. Well, not an issue, just a slower processor than the newer devices. Takes it a bit longer to load data.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    is there anyway to cut down on image memory without reseting or changing scenes?

    I am working on a time management type game in which there are a bunch of "missions." Because it is supposed to be fast paced I would rather not have loading times between missions. So currently I have everything in one scene and I just move the camera to simulate a scene change. Works great on my 4th gen ipod but the memory stays right around 60mb the entire time.

    Should I try res ind (never done it before)?
    Do I have to break it up into multiple scenes?
    If I set it to arm7 will 60mb be ok?
  • adam_b_ukadam_b_uk Member Posts: 50
    i thought it might be the processor, i really need to get a newer device to test on!
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    You know a lot more than I, sci, but I can tell you, in my experience with memory and changing scenes, it resets some of it when it changes. In one of my games, it hovers around 18 to 20mb while playing, and then at the change scene, it drops down to 13 or 14, and when the new scene is loaded and ready to go, it goes back up to 18-20, and pretty much stays there with an occasional spike to 22ish, and sometimes it even drops down to 15-16 for a couple of seconds.

    For me, changing scenes helps with some of the memory being freed up. If it always stays around 60mb, you probably wont have a choice but to have it set to arm7. 3rd generation and below will be left out. And since the older devices won't be able to run it, you probably wont have to worry about trying res independence either, unless 3GS can handle it, that is.
Sign In or Register to comment.