lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: ant dist-maven creates OOM (PermGen space) on 3.x
Date Mon, 19 Mar 2012 12:11:56 GMT
The 'hudson hack' works here, e.g. instead

ANT_OPTS="-Xmx256m -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128M"
ant -Dversion=3.6.0 prepare-release.

I'll update the ReleaseTODO for now on the wiki, but if anyone has
ideas for a better solution so this task works 'out of box', that
would be great.

On Mon, Mar 19, 2012 at 7:42 AM, Robert Muir <rcmuir@gmail.com> wrote:
> ant -Dversion=3.6.0 prepare-release
>
> ...
>
> dist-maven:
> [artifact:install-provider] Installing provider:
> org.apache.maven.wagon:wagon-ssh:jar:1.0-beta-7:runtime
> java.lang.OutOfMemoryError: PermGen space
>        at java.lang.ClassLoader.defineClass1(Native Method)
>        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>        at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:323)
>        at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:170)
>        at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2037)
>        at org.apache.tools.ant.Main.runBuild(Main.java:778)
>        at org.apache.tools.ant.Main.startAnt(Main.java:217)
>        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> PermGen space
>
> 3.x r1302380
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
> Apache Ant version 1.7.1 compiled on September 3 2011
>
> --
> lucidimagination.com



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message