Skip navigation
Currently Being Moderated

Slow compilation on Flex 3

Feb 3, 2009 5:52 AM

We are using eclipse 3.2 with wtp plugin and flex 3 plugin. The machine is having 2 GB RAM. Our typical build cycle is ~6m from compiling, deploying to jboss and giving first hit to mxml.

Can anyone suggest some pointers as how can we reduce this cycle?
 
Replies
  • Currently Being Moderated
    Feb 3, 2009 8:52 AM   in reply to Guest
    Have you tried using the incremental compile options?

    http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_20.h tml
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 4, 2009 6:22 AM   in reply to Guest

    Are you using the default vmargs when launching eclipse?

    I got a use performance improvement by adding these switches.

    -vmargs -Xms40m -Xmx256m


    You'll have to google each switch and you'll probably want to play w/ settings for your own configuration. I think the first number is the Xms default memory the eclipse JVM takes on startup and the Xmx is the max memory that the JVM can use.

    Using numbers like this, I easily shrunk compile down from a half hour to 25 minutes. :ha, ha:
     
    |
    Mark as:
  • Currently Being Moderated
    Feb 4, 2009 6:22 AM   in reply to Guest

    Are you using the default vmargs when launching eclipse?

    I got a use performance improvement by adding these switches.

    -vmargs -Xms40m -Xmx256m


    You'll have to google each switch and you'll probably want to play w/ settings for your own configuration. I think the first number is the Xms default memory the eclipse JVM takes on startup and the Xmx is the max memory that the JVM can use.

    Using numbers like this, I easily shrunk compile down from a half hour to 25 minutes. :ha, ha:
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points