Resolution Independence & Ram Problems

joemaukejoemauke Member Posts: 41
edited November -1 in Working with GS (Mac)
Has anyone else had problems with resolution independence doubling the amount of ram in their game? I knew that the images were going to be larger and take up memory, and I knew that the smaller images would be in ram as well, but I didnt realize that it was going to in effect double the ram used even in scenes with no art in them.

Before using resolution independence:

Images: 10.0 mb
Sounds 2.0mb
Game Engine: 16.3mb
Other: 11.2
Total: 39.4mb (High but manageable)

After Resolution Independence

Images: 25.1mb
Sounds: 712kb
Game Engine: 17.3mb
Other: 16.1mb
Total: 59.2 (this is bad)

Has anyone seen a jump this high just from using Resolution Independence?

Comments

  • reddotincreddotinc Member Posts: 653
    Res independence RAM usage only matters on the iPhone 4, where you are probably looking at over 100Mb of RAM for usage. So unless you are near that then I wouldn't worry.

    Rabbit Run PRO uses 70-80Mb of RAM using RI and works fine!

    // red.
  • joemaukejoemauke Member Posts: 41
    Ok, so this is where Im a tad confused. How does this effect the 3gs? Aren't all the images loaded no matter if its iPhone4 or 3gs? Or does Res Ind basically detect the phone its on and doesnt load the larger images?
  • joemaukejoemauke Member Posts: 41
    reddotinc said:
    Res independence RAM usage only matters on the iPhone 4, where you are probably looking at over 100Mb of RAM for usage. So unless you are near that then I wouldn't worry.

    Rabbit Run PRO uses 70-80Mb of RAM using RI and works fine!

    // red.

    really, I crash at 75Mb on my iPhone4

    <b> iOS 4.1 allows about 60 MB RAM to application, and no more (memory warning level 2, and crash..) </b>
  • joemaukejoemauke Member Posts: 41
    **Bump**

    I would love to know if iPhone3GS still loads the larger images in RAM or just code created half ones, so I know what the ram footprint on 3gs is compared to iPhone4.
  • bluebyu25bluebyu25 Member Posts: 500
    I would too
Sign In or Register to comment.