On 2010-06-22, at 08:38, Ryan M wrote: > So.... finally updating to 4.7. And I am amazed at the significant (5x > slower) compile time difference between 4.7.2 and 4.0.16. This difference > makes it near impossible to work on an application without wanting to yell > loudly at the wall. This was with no changes to the code (beyond the fixes > for runtime differences). I would love to know if there is absolutely > anything that can be done to speed it up as our development time will be > increasing significantly simply as a result of updating to the new version of > Laszlo. I appreciate any help offered. And I have already looked at the > forums but found very little on the subject.
We believe we have significantly improved this situation and will have a 4.8 release soon with these improvements. You are welcome to try the 4.8 nightly builds, available here: http://download.openlaszlo.org/nightly/4.8 We believe that most of the issue has to do with the compiler triggering either garbage collection or paging in the Java VM. We recommend that you set your Java VM to use -Xmx of at least 768m, preferably more, but _not_ more than 1/2 of the physical RAM you have installed (to avoid triggering paging). You can do this by: export JAVA_OPTS="-Xmx768m" in the shell that you start the server in or run the command-line compiler in.
