Demo Joomla! 1.5

Visit the Joomla! 1.5 demo site to see my extensions live running

Demo Joomla! 2.5

Visit the Joomla! 2.5 demo site to see my extensions live running

Support

Do not submit a bug report if you need technical support or have questions.

Forums

Post your suggestions ask for help in the community forums

Wiki

Visit the Wiki extensive and up to date documentation at your fingertips.

Contact Me

Missing images/links, any comments, suggestions, need help? Contact me

Skype

Need desperately help?
Skype Me™! But dont abuse of it!

Get more speed with your MAVEN2 build

User Rating:  / 1
PoorBest 

apache_maven

We had serious performance problems with MAVEN in our environment. It seems to be a recurrent problem
for MAVEN... anyway I did came through the following changes...the 2.0.9.db1 Maven2 patch make really
Maven fly!

General settings to speed up Maven:

  • More memory for Maven process, change the launcher of eclipse to set MAVEN_OPTS like this:
    -DMAVEN_OPTS="-Xms64m –Xmx128m"
  • Use the latest version of Maven, but be careful of regressions! the latest as for today is 2.0.9
  • There is a patch available for Maven 2.0.9, which speed up build by 40%. It is just simply day and
    night! try it, you'll love it! Basically Don Brown alter MAVEN2 2.0.9 to

General settings to speed up Eclipse:

  1. Use javaw.exe to start eclipse and not java.exe (more for console base program with a lot of feedback),
    while javaw.exe is more for graphical environment.
  2. Aggressive JIT and double core processors should use:  
     -XX:-UseParallelGC -XX:+AggressiveOpts -XX:-UseConcMarkSweepGC -XX:+UseFastAccessorMethods
  3. Give more memory, MORE MEMORY for eclipse, on a 4GB machine, these are my settings: 
    -Xms768m -Xmx1024m -XX:MaxPermSize=256m
  4. Reduce the number of warning reported by eclipse per compilation unit (class), default is 100, reduce it to 10.
    It help nobody to see a workspace slowing down because of too many warning logging.
    Remove the warnings instead ;-)
  5. SVN console with subversive is too verbose as default, go to eclipse preferences - Team – SVN - Console.
    Logging SVN errors should be enough.
  6. Use a Defragmenter! NTFS fragment fast with so many small files in workspace, every 2 week is a good practice.
  7. I am using Java 1.6u10 (BETA!) and have experience no crash till now,
    being on the edge can be costly in time through. Maven forking should benefit from the reduce java kernel
    size and bootstrap time
You might also like:
Apache Maven 3 Cookbook
83 days ago
Apache Maven 3 Cookbook
  First a big thanks to Packt Publishing for having sent me this book to review! I did enj
Apache Maven 3 Cookbook Review
129 days ago
Apache Maven 3 Cookbook Review
Thanks to Packt Publishing for having sent me this book to review. I will publish a review in the
List conflicting dependencies in the Maven reactor
245 days ago
List conflicting dependencies in the Maven reactor
The Maven Dependency Plugin among other things include a dependency:analyze-duplicate The depe
Break Maven build when there is a dependency conflict
245 days ago
Break Maven build when there is a dependency conflict
Scenarios You want to control Maven during dependency resolution and break the build i
blog comments powered by Disqus
Parent Category: Framework
Category: Apache Maven

Donations

Thank You for supporting my work

Follow Me

Follow cedricwalter on Twitter Subscribe via RSS Subscribe via RSS Follow us on Facebook Follow us on Google+

Latest Articles

  • Thanks to Nathan Rennie-Waldock. you can have the latest PHP5 5.3.10 running in Ubuntu Oneiric, Natty, Maverick and Lu... ...
  • Download and install the latest  VMware Player 4.0.2 to run this Virtual Appliance “Ubuntu 11.10 x64 Server” ... ...
  • Download and install VMware Player 4.0.2 to run this Virtual Appliance “Ubuntu 11.10 x64 Server” Ready to user st... ...
  • Thanks to Ondřej Surý,  maintainer for some Debian packages, you can have the latest PHP5 maintained by Debian ... ...
  • Munin is a networked resource monitoring tool that can help analyze resource trends and "what just happened to ki... ...

Latest Comments

Popular Posts

rockettheme advertisement

dropbox logo

Help Us & Leave Feedback!

  • Do you have an excellent article idea you would like to read about here? Share it!
  • Do you have some interesting tips how we could improve our site?
  • Something missing here? Help us make this blog a better place, leave feedback!
We would love to hear from you! Be active! Write us now!

Blogs

Didier Beck Tech Head Brothers

google+ badge