I had installed Flash Builder builder some time ago and everything just seems to be allright, but when I had to made a major refactoring for all modules belonging to a very large project Flash Builder started to run slower than Flex Builder. The configuration of my PC is very good, Intel dual core at 2 GHz and 3 gb of RAM and I had allready Flex Builder installed and it worked just fine. After I done some reasearch I found that you can increase the JVM memory, so these are the steps you must follow:
- Exit Flash Builder ( or Eclipse if you have installed Flash Builder as an Eclipse plugin ) if is allready running.
- Open your FlashBuilder.ini or eclipse.ini located in your installation folder. For Windows user: C:\Program Files\Adobe\Adobe Flash Builder 4\FlashBuilder.ini ( if you are using a 64 bit operating system you must search in C:\Program Files(x86)\Adobe\Adobe Flash Builder 4\FlashBuilder.ini ) or <path to Eclipse>\eclipse.ini .
- Find the maximum heap size setting, e.g. “-Xmx512m”.
- Change the maximum heap size. I set it to 1024 mb, e.g. “-Xmx1024m”. Be careful to not allocate more memory than your pc has.
- Save the file.
- Restart de Flash Builder or Eclipse, now it should run faster.
Mac users can find the *.ini file this way:
- Right click on Adobe Flash Builder 4.app or Eclipse.app, Show Package Contents
- Open Contents > MacOS > Adobe Flash Builder 4.ini or eclipse.ini