Increase JVM memory
*-Xms Am -Xmx Bm* * * (A is the initial memory size B is the maximum size in megabytes) you may do this globally in jvm configuration file, or per application run. I even think that MXMLC will accept -jvmargs parameter to pass arguments to jvm before it starts (MXMLC exe is a launcher, that launches the mxmlc.jar). More here: http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp