The error message is to do with out-of-RAM not out of Flash. Completely turn the iPad off (Hold down the Power button until the slider control appears, accept the offer to turn off, wait until the screen goes entirely blank, then hold the Power switch until the white Apple logo appears.) Once you're back at the Home screen, try again.
Tim