Kohsuke Kawaguchi 2f9dff73c6 Fixed PermGen OutOfMemoryError during full clean build.
Plexus compiler 1.8.6 that maven-compiler-plugin 2.4 has a static field
to store a reference to the Javac class in tools.jar

In JDK that I use (6u26), Javac has a static field that stores what
appears to be a cache of jar files (ZipFileIndex.zipFileIndexCache).
And in addition, Maven instantiates a separate ClassRealm to host plugin
jar files when a project has any build extensions.

The combined result is that during a build, we end up having multiple
copies of URLClassLoader that loads tools.jar, and each ends up caching
jar files it was used. This puts a pressure to permgen (although I
couldn't pinpoint which portions of those caches use permgen), resulting
in OOME.

In Plexus compiler 1.9, Olivier added a new feature to control the
caching/reuse of Javac compiler. While this apparently was done
primarily for fixing concurrency issues in multi-threaded builds, it is
also a useful mechanism to prevent the retention of Javac classes.

So I pushed the SNAPSHOT version of maven-compiler-plugin as
2.5-jenkins-1 and tweaking POM to use it.
2012-05-24 10:27:57 -07:00
2012-05-22 12:32:33 +02:00
2011-01-30 23:44:52 -08:00
2011-09-07 09:56:30 -07:00
2011-03-21 00:23:00 -07:00
2012-05-23 20:11:58 -07:00
2011-05-28 14:07:12 +01:00
2011-01-31 18:34:17 -08:00
2011-06-13 22:26:29 -07:00
2011-09-11 16:12:09 +02:00
2011-06-19 23:08:11 +02:00
2012-05-22 12:32:33 +02:00

Jenkins CI

Copyright © 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributers. Licensed under MIT License.

About

In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.

Downloads

Non-source downloads such as WAR file and several Linux packages can be found on our Mirrors.

Source

Our latest and greatest source of Jenkins CI can be found on GitHub. Fork us!

News and Website

All about Jenkins CI can be found on our website. Follow us on Twitter @jenkinsci.

Languages
Java 87.2%
HTML 6.4%
JavaScript 3.3%
SCSS 2.2%
Groovy 0.3%
Other 0.5%