I have a question regarding RAM usage.
I’m using Flash CS6 pro and I’m working on a little card game (very simple, not intended to be published).
The board has 100 32X32 pixels “cards” on it, which are blitted bitmaps (each is 18 KB), additionally there are few MovieClip menues (for score, ect…).
I decided to monitor RAM using System.totalMemory, and I was very suprised to find out that it’s using ~ 70 MB (considering nothing moves all the time is seems a lot…)
Additionally, RAM climbs and drops ~ 5 MB every 15-20 secs even though no new objects are created (I guess the drop is Flah GC, but why is it climbing I have no idea….).
My question is – why is the RAM usage so high? (or perhaps it’s normal..?)
And what can cause RAM to go up like that, even though nothing is created..? (or perhaps it’s normal too..?)
One last thing, what is the desired RAM usage for publishing for moblie devices assuming ~ 25 fps?