GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Strange image memory usage

ApplaudAppsApplaudApps Posts: 308Member
edited November -1 in Tech Support
Hi, When my iphone game loads the initial scene uses 40 images which total just under 2mb in total (I haven't optimised them yet). But when I load the game on my device the remote preview always shows image memory usage in excess of 25mb!! (and total memory of 41mb). the project size is 4.7mb.

Is this a 9.3 bug or something else going on?

Thanks.

Comments

  • old_kipperold_kipper Posts: 1,420Member
    This is because a stored graphics file is compressed and when opened it occupies more space than it does on disk.

    Hope that helps.

    kipper

    edit: beat me to it...
  • ApplaudAppsApplaudApps Posts: 308Member
    Thanks for answers. The file sizes when I look in package contents are exactly the same as the raw images before I import them in GS. So when they are compressed and uncompressed in gameplay I would expect to see them back as 2mb and no more.

    TSB - didn't know that but it makes sense as I do have some full screen images that I will now look at reducing/changing somehow.

    Cheers guys.
This discussion has been closed.