Every now and then, my program throws error #2015 - Invalid BitmapData. Sometimes it's close to the start of the game, but mostly it's way in - after 15-20 minutes of playing. The line of code is var bd:BitmapData = new BitmapData(1024, 768, true, 0x00000000); This runs many times successfully, then suddenly throws an error. Running Windows 7 with Flash Player 10 (flashdevelop ide and Zinc). When this happens, I have over 2GB of free RAM. Does Flash, or Windows, allocate a RAM limit, and maybe I'm bumping into that?