Tips to reduce ram usage?

0belisk0belisk PRO Posts: 189
edited November -1 in Working with GS (Mac)
just synched my game onto my ipod touch and tried to run it, it runs fine at main menu/other screens, but when begining the game it just crashes.

every actor that isnt movable, i have unticked the movable setting on each actor.
my project file in gamesalad is only 13.3mb, and when i synched the app it was 23.3mb

what else can i do to reduce the ram usage so it runs better?

Comments

  • RUPASRUPAS Member Posts: 823
    the images have to be 72 dpi. and much more, how much ram have you game?
  • Rob2Rob2 Member Posts: 2,402
    Doesn't seem like it should be using too much RAM (not a very big project). What figures did the viewer report? Which ipod touch do you have?
  • 0belisk0belisk PRO Posts: 189
    RUPAS said:
    the images have to be 72 dpi. and much more, how much ram have you game?

    all my images are indeed 72 dpi :)

    whilst at the main menu, the ios simulator said about 43mb including game engine, sound, images and other. "other" seems to take up the MAJORITY of the ram on my game o.O

    while playing it starts on 71mb, but casually increases during gameplay, and by the time you've come to completing it, it might go up to perhaps 90mb, its almost as if its not recycling the ram.
  • 0belisk0belisk PRO Posts: 189
    Rob2 said:
    Doesn't seem like it should be using too much RAM (not a very big project). What figures did the viewer report? Which ipod touch do you have?

    i tested it on an iPod Touch (2nd Generation) as my iPhone 3GS hasnt arrived yet.
  • keweworkshopkeweworkshop Member Posts: 377
    I totally feel you on the crashing problem! It can be very discouraging. I got some great advice and it only took me ten minutes to locate the source of the crashing, fixing the crashing has been another issue but hopefully you will sail through that. Check out post #3 in this thread.
    http://gamesalad.com/forums/topic.php?id=33554
  • 0belisk0belisk PRO Posts: 189
    theres nothing in particular thats making it crash, after a few attempts i got it running on the iPod Touch. its just very laggy. i tried unticking "pre-load art" on all the actors, no difference...

    and playing it on the ios simulator, whilst in the same scene, the ram usage NEVER goes down? it just gradually goes up and up. regardless of how many actors/things are going on the screen. as you'd expect it to have peaks and lows depending on how many enemies functions are currently active, seems regardless it just continues to go up.

    any ideas?
  • keweworkshopkeweworkshop Member Posts: 377
    Sorry, I am not very versed with game mechanics, my app is a book, with a few simple mini-games. It seems like the only time my memory dumps is when I turn a scene, which I do a lot. If you stay on a scene a long time, I don't have any advice for you. I am sure it is possible though, don't give up! Some else more experienced will have to advise you.
  • 0belisk0belisk PRO Posts: 189
    thats okay, still open for advice! need to get this app running smoothly
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    have you installed the latest patch?... sounds like your suffering from old problems with building ram...

    Also have you got large sound files or something that might cause it...
  • 0belisk0belisk PRO Posts: 189
    stormystudio said:
    have you installed the latest patch?... sounds like your suffering from old problems with building ram...

    Also have you got large sound files or something that might cause it...

    yeah ive updated to the latest GS version, oh really? how would i go about tackling the building ram thing. and erm not my knowledge, i will look at my sound files and see how big they are :)
  • 0belisk0belisk PRO Posts: 189
    my sound files inside the project, ranged from 12kb to 550kb, and the background music for the game is 2.5mb, is that bad or good?
  • 0belisk0belisk PRO Posts: 189
    really need some help here guys. it struggles to run my iphone 3GS, rather laggy and slow. What procedures or measures can i do to increase performance/reduce ram usage on my game?
  • chicopchicop Member Posts: 263
    i think its to much ram usage 71mb seems like allot... i read somewhere for 3gs 45 mb should be max.. dont hold me to that tough
  • KrogothicKrogothic Member, PRO Posts: 123
    I would kill the music, start there then start killing other things till your running good again. Then work from there.

    Also put up a beta test and see how it is running on other devices get some feedback make sure if not just a device issue.

    Good Luck

    Krogothic
Sign In or Register to comment.