Flash builder compile and compile tips java heap space solution

In the past few days, the compilation always prompts a "Java heap space" error. Occasionally, it can barely compile successfully by restarting, which makes me feel a little bad these days. I checked a lot of information on the Internet and found that the value should be set according to the specific situation. If the setting is incorrect, the software may not start.

The main files to check: (located in the FB installation directory)

1. There are four parameters involved in three files including FlashBuilder.ini, FlashBuilderC.ini and  eclipse/ eclipse.ini, as follows:
-Xms128m 
-Xmx1024m 
-XX:MaxPermSize=128m 
-XX:PermSize=64m
Generally, the latter two values ​​can not be changed at all, and the value of "Xmx" is mainly changed.
2. Find "java.args=-Xmx1024m -Dsun.io.useCanonCaches=false" in the JVM.config file under the bin directory under the SDK directory.

You can try to modify the value of the " Xmx " parameter and set it to a suitable value. Setting these values ​​incorrectly will cause the FB not to start properly.





Guess you like

Origin blog.csdn.net/tianhai110/article/details/77540581