Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm developing a Flash game, and I can appreciate that the memory usage is a little high for a Flash game (I think). Let's say 100+ MB.

So how much is too much when talking about memory usage in Flash games?

share|improve this question
Are you talking about memory requirements (RAM) or content size/bandwidth? – bummzack Mar 8 '11 at 16:05
I suggest you change the title to reflect the actual question, i.e. "How much memory usage is too much?" – Kzqai Mar 8 '11 at 16:26
Sory, my bad. Im talking about RAM memory usage. And, I think I cant change the title of the question. – Artemix Mar 8 '11 at 17:42
I've clarified the title as part of an edit. – Gregory Avery-Weir Mar 8 '11 at 17:52

I've been wondering about this as well, so I decided to check out some popular games and watch Firefox's plugin container memory consumption.

Memory starts and defaults back to around 5-10MB on my setup. With that in mind, here are the peak memory usages in the first 3-5 minutes of gameplay for some popular games:


Smeet is a Facebook Social Game, it ran at around 100 MB, and peaked at 200 when I entered an area with lots of characters and assets. Chibi Knight has fairly simple assets, but an extremely large multi-screen background image (non-tiled), which explains it's high memory usage. The two lowest memory games are both non-scrolling and single-screen (at least in the first couple minutes), explaining their low usage.

share|improve this answer
+1 good reasearch – Fire Crow Apr 6 '11 at 16:09

According to your tags it says "browser-based-games" depending on the game and its complexity, I would say 100mb most likely too much, unless you are creating a large mmo style flash game(even that is very large!)

There is a bunch of compression options you have for flash as well, which may shrink your game down

tiny: 0 - 200 KB;

small: 200 - 700 KB

Medium: 800 - 1400 KB

Large: 1500 - 4000 KB

too Large: 4000 - 9000 KB

share|improve this answer
I assumed content on disk/bandwidth-overall size of the project – Spooks Mar 8 '11 at 16:14
Sory, I wasn't clear, I was talking about ram memory usage. – Artemix Mar 8 '11 at 18:06

The answer depends on your target audience. Do you want people to play your flash game on their Netbook and/or their flash supporting Playbook or Android tablet? If so, then memory usage over and beyond 50 MB is likely going to be an issue. If you only expect your game to be played on tricked out gaming rigs, then taking up 100-400 MB memory is likely not going to be a problem.

The issue, may be Flash's ability to address this much memory quickly. I'm not a flash developer so I don't really know, but if your game needs this much memory it probably has a lot of supporting code, which is where, even on "gods-own-machine," you may run into issues.

share|improve this answer
I assumed Memory requirements, not content on disk/bandwidth. – Nate Mar 8 '11 at 16:06
I see. Anw, looking at "big" games at, for example,, they all are above ~50 mbs. – Artemix Mar 8 '11 at 17:43
If you're talking about MB, you shouldn't write mbs as it stands for something quite different. – bummzack Mar 8 '11 at 20:14
Then, what means mbs? – Artemix Mar 9 '11 at 14:26
I'm associating mbs with megabit per second, although you'd probably write it as mb/s or mbps. Usually a capital "B" stands for Byte, whereas a "b" stands for bit – bummzack Mar 9 '11 at 15:31

FWIW, I was helping out a family member complaining of a slow PC. She plays CafeWorld on facebook. Investigation lead to Firefox/the flash plugin taking up almost a gigabyte of memory usage. I thought this might have been a fluke, having experienced many browser-based memory leaks over the years, closed everything and tried it with another browser. I watched the memory usage as it slowly crawled back up to the 970~ mb mark as all the game's various assets loaded.

Absurd, but I'm sure you can point at the game and say it has millions of users. (yup, just checked, 14 million monthly users, blah)

share|improve this answer
Wow... ~1GB... just.. wow. I guess then, ~150 is not that much. And, no, I dont have any leaks, already made my own garbage collector. – Artemix Mar 9 '11 at 14:30

I would differentiate between download size and memory size, some assets are large, other game related data structures bloat the client's memory but require little bandwidth to download.

That was the strategy behind FLV, to compress the video code for download, and then decompress it assuming fast CPU and lots of memory in the client.

share|improve this answer

128 Megabytes is the Default maximum, so I would say above 128 Megabytes is too much.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.