|
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: - 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. - Aggressive JIT and double core processors should use:
-XX:-UseParallelGC -XX:+AggressiveOpts -XX:-UseConcMarkSweepGC -XX:+UseFastAccessorMethods - Give more memory, MORE MEMORY for eclipse, on a 4GB machine, these are my settings:
-Xms768m -Xmx1024m -XX:MaxPermSize=256m - 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 ;-) - SVN console with subversive is too verbose as default, go to eclipse preferences - Team – SVN - Console.
Logging SVN errors should be enough. - Use a Defragmenter! NTFS fragment fast with so many small files in workspace, every 2 week is a good practice.
- 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
Related Posts
-
I forgot to blog about this presentation at JAZOON 2008, but I did never forget the added value of this plugin. It is not currently in Apache Maven core but will for sure find its way as an official plugin one day, since it solve elegantly a common problem: technology management Maven does not know the concept of an artifact life cycle. Su 7 days ago
-
It is not unusual in a project to have a huge number of third party artifacts and Plug-in. Apache Maven help you keep track of them, along with their transitive dependencies.
But how do you know when a new version of an artifact is available? This is where the Maven Versions plug-in come hand in.
The Versions Plug-in is used when you wa 7 days ago
-
In which order are Apache Maven profiles executed? are Apache Maven profiles ordered? how can you insured that Apache Maven profiles are activated in the right order? You normally don’t end up with these questions, issues may only appear if Some profiles are dependent each other, Some profiles can not run in any order, The use case 28 days ago
-
I won’t explain you how to write any JBehave tests as the online documentation is more than complete. I prefer to show you how to make them run in eclipse, and in Apache Maven as the example were not easy to run (scenario are wrongly in src/main/java). JBehave is a framework for Behaviour-Driven Development Behaviour-driven dev 42 days ago
-
I found this time a new way to deploy Maven artefacts using the Oracle Weblogic Ant API!
If you remember my previous post, there is many ways to deploy your war/ear to Oracle Weblogic
Using Oracle Weblogic development mode, a mode in which a simple copy of your files in a specific autodeploy directory trigger the update/install o 62 days ago
-
I was getting mad because jetty was refusing to redeploy my static files (xhtml, css) in Eclipse until I find the reason The Jetty Web Server provides a HTTP server and Servlet container capable of serving static and dynamic contend either from a standalone or embedded instantiations. Jetty buffers static content for webapps such as html files, 96 days ago
-
I was fighting today against the maven-release-plugin of maven, solving complicated errors in a row. As I am convince I made all possible errors, I think it is worse to compile my findings here to help others :-)
Maven Release Plugin
This plugin is used to release a project with Maven, saving a lot of repetitive, manual work. 159 days ago
-
Subversion (SVN) is an open source version control system. It allows users to keep track of changes made over time to any type of electronic data. Typical uses are versioning source code, web pages or design documents. Installing the latest Subversion (svn) version 1.6.6 is a bit more difficult than just running apt-get install subversion, as t 159 days ago
-
In this small post I will show you how to deploy automatically some artifacts of your build into Weblogic 10.3 by using the weblogic-maven-plugin
This plugin will support various tasks within the Weblogic 8.1 and 9.x environment. Such tasks as deploy, undeploy,clientgen,servicegen, and appc are supported as well as many others. The 159 days ago
-
If your Artifactory installation grows of many Gb each day - althought you do not deploy so many new artifacts. I suggest you to look under the repositories settings.
All your local repositories are configured as default with Snapshot Version Behavior = Non-Unique. As stated in the manual, all deployed SNAPSHOTS with be keep with unique time-sta 168 days ago
relatedArticles
|