Okay, so I made a new level and added it to the game (I have around 11 levels now in total). I googled and googled and found out you can increase the heap space.
Under flash develop, I have flex 4.6.0, air 3.1 set on the SDK.
I opened the JVM.config file in
Local\FlashDevelop\Apps\flexsdk\4.6.0\bin
and see
java.args=-Xmx384m -Dsun.io.useCanonCaches=false
I tried changing Xmx384m and even the -dsun command, but it doesn’t work. I only get
Error: Java heap space
Build halted with errors (fcsh).
No other errors. This is pissing me off! Thanks
EDIT: Changing to Xmx1024m worked.