RAM

LBGLBG Member Posts: 277
edited November -1 in Working with GS (Mac)
Hi Guys,

I have been searching the forums and have found a few topics on RAM usage. A lot of the topics are quite old saying that 40mb should be your limit. With new releases of GS and performance increases is it possible to go higher or is this still a good figure to aim for?

Cheers,

LBG

Comments

  • LBGLBG Member Posts: 277
    Could someone also explain to me what the "Other" memory usage is? Sorry if this is all explained somewhere I just couldn't find anything.

    Thanks again,

    LBG
  • POMPOM Member Posts: 2,599
    Hey LGB ,
    40mb of ram is the limit for 2nd gen devices , as far as i know you can push the 3gs to almost 80-90 mb with no crash , and iPhone 4 and iPhone 4s up to 120mb with no crash , but try to be officiant and put it as low as you can , also , notice that the same game will consume different ram on different devices when you use 'resolution independence' , so if you have iPhone 4 and you test your game and it has 50mb , thats fine , cause that means that on a 3gs device it will probably be something like 35mb , cause the images are smaller , (i suggest always make tests on both) .

    Also note that ram is not related directly to fps , you can have a game with 80mb ram but with 60fps , fps is mostly reduced by heavy actors with lots of rules , number of actors in the scene , number of movable actors in the scene , also massive usage of constrains and timers causes fps drops .

    Hope this info helps you .
    Roy.
  • LBGLBG Member Posts: 277
    Cheers Roy. That Is a massive help. I am currently testing on an iPhone 4 and getting up to 50mb. I am trying to optimise the game but I am finding it hard. I will be testing on a 3GS later this week so hopefully I'll see a drop in the image size when I test on that with resolution independance.

    I do have quite a few timers and constraints (as well as actors being spawned and destroyed) but my FPS isn't too bad. Again I am looking to optimise it all and remove anything that is hurting the gameplay. I'd rather have a smoother game with less features than a game with loads of content that runs like crap.

    Thanks

    LBG
  • LBGLBG Member Posts: 277
    Does image quality affect RAM usage? I mean, if I have a 512 x 512 saved at high quality and one at a lower quality will the higher one use more RAM or does it use the same amount of RAM to draw every pixel?

    Thanks

    LBG
  • LBGLBG Member Posts: 277
    I have been running an old version of iOS on my iPhone for a while now and decided to do an update. So I updated to the latest version of iOS and I am having further issues with memory.

    I have some menu actors that I am destroying once they are not needed to free up memory. I used to see a visible drop in the RAM usage once they were destroyed. Now this doesn't happen any more plus I am getting two more issues:
    1) RAM usage is up by 10mb just for switching to a more recent iOS
    2) The RAM usage keeps going up

    Is there anything I can do to change this and are there any future patches for GS concernning these issues?

    Thanks for any help

    LBG
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    This depends on different things, i have a couple of questions
    What iPhone do you have??
    How much memory is your app?
    Do you have a lot of animations in one scene?
    How many scenes is your app?
    Is your app on the app store, if it is, i can check it out on my iPhone 4??
  • LBGLBG Member Posts: 277
    I have an iPhone4
    Memory of the app (from the bottom right ion creator) is 6.9mb
    No animations
    2 scenes
    not on the store, in development.

    My main character has a lot of rules (well I think so) but most other things are quite simple.

    Cheers

    LBG
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Wow!,
    I am completely blanked so!,
    Im oblivious as to how this could happen, i have a 30mb file with like, 20 scenes and it doesn't use that much,
    I dunno whats happened??,
    ---
    I would ask GS about this,
    Just my two cents,
    Jack
  • LBGLBG Member Posts: 277
    Cheers Jack.

    I may send them the file and ask them to take a look for me.

    LBG
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Yes,
    Thats what i did when there was a memory bug in mine, and my old app used to quit after like 2 mins, and they fixed it for me,
    They'll have it fixed by two days for you,
    Good luck!,
    Jack
Sign In or Register to comment.