Tuning Flex Builder 2 and Eclipse performance
April 18th, 2007
The last few weeks my Flex Builder is becoming slower and slower. Therefore I started looking for the reasons why this happens and searched for some performance tuning tips for Flex Builder 2 and Eclipse. I found some really useful tips which increased performance quite nice.

- Close the projects your not currently working on.
When you compile a project you are working on, Flex Builder checks all other projects that are open to see if compiling is required. By closing the projects you’re not currently working on, Flex will not check them which saves you quite some build time.
- Disable code folding.
By disabling this feature, you will gain some more speed.
- Install the latest Java Runtime Environment.
Update the JRE via the Java website.
- Install Memory Monitor and Status Memory Monitor from Kyrsoft.
By installing these Eclipse plugins, you gain complete control over the memory garbage of Eclipse. Install them via Help > Software Updates > Find and install – Search for new features to install and choose a new remote site. Enter http://www.kyrsoft.com/updates/ as the URL.
- Increase min/max amount of memory for Eclipse’s startup.
Eclipse standard has a startup memory heap minimum of 40M and a maximum of 256M. By increasing these settings Eclipse will startup faster. Change these settings only if you have sufficient memory. To change them, edit the flexbuilder.ini/eclipse.ini file. The settings you should change are -Xms40m and -Xmx256m.
Popularity: 12% [?]




Thanks dude! I had no problems at tfe, but at home my flex installation has been sucking up cpu like crazy, so I’ve just installed the plugin and will let you know how it goes.. See you on monday!
I wasn’t able to disable the code folding function.
Where can i find it?
Hey Sidney,
You can find the code folding switch by going to Window > Preferences > Flex and then Editors… There will be an option “Enabled code folding”. Thank you for the comment.
Dude
We are building a large application using your superpanel I have two questions
1. We are using your style sheet we are getting a large group of errors such as
a.errors parsing stylesheet
b.Invalid CSS syntax(Unexpected token;’;').
c.Invalid identifier start character: &
as you can tell I am not the programer in this group but I was working on it this weekend and wondering if you might point out what I was doing wrong?
2. On the superpanel when the borders are set at say 10-15 the edges don’t match up to the header bar cleanly is there a work around on just have to live with it?
Keep up the good work
[...] a link to a few other suggested performance improvements you can do to Eclipse/FlexBuilder. Share and Enjoy: These icons link to social bookmarking sites [...]