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.
[Later edit]
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
Thank you so much. It was driving me crazy!
Thank you so much. It was driving me crazy too. You’re a lifesaver.
Good advice. It helped a lot. I’m using a Mac and to find the .ini file look here:
http://blogs.adobe.com/jasonsj/2010/02
Thanks Mitch, I will update the article for Mac users.
Perfect! Thanks! That was getting frustrating.
Thank you!