Http://blog.163.com/junxu_wu/blog/static/14170008020111035110819/
1. Find flexbuilder in the installation path. INI file, edit, add the following parameter-vmargs-Xms128m-Xmx512m-XX: maxpermsize = 256m-xx: permsize = 64 m # Do not set too high, otherwise it will be slower-djava.net. preferipv4stack = true the above several pieces of experience can significantly accelerate the compilation speed several times, 3rd can significantly reduce the probability of FB failure .? 2. Because the flex Builder compiler shell has a memory leak problem, and the default JVM heap size of the SDK is only 384 Mb, it is not easy to use a compile project, therefore, you only need to modify the JVM parameters of the SDK. Edit the {flex SDK} installation path/bin/JVM. config file as follows. Java. ARGs =-xmx512m-dsun. Io. usecanoncaches = false. If there is still an error, it can be increased to 1024 or more. Note: the SDK path in my flex4.5 installation path is F: \ Adobe Flash builder 4.5 \ sdks \ 4.5.1 \ bin \ JVM. config. just adjust it here!