Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 06CD19162 for ; Mon, 19 Mar 2012 12:12:43 +0000 (UTC) Received: (qmail 93020 invoked by uid 500); 19 Mar 2012 12:12:42 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 92977 invoked by uid 500); 19 Mar 2012 12:12:42 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 92969 invoked by uid 99); 19 Mar 2012 12:12:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 12:12:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcmuir@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 12:12:37 +0000 Received: by iagw33 with SMTP id w33so12556606iag.35 for ; Mon, 19 Mar 2012 05:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=6B4r422ALpJjEvpCJbQWtnTIoxHzm9voEc/1IiyGNA8=; b=LXPRgXD+9fdmtHK3x136bZhEPZec2MynO7ztbtzv98mXlHM/DXItzazVfWSYoIUqHj 8O1L21y5NoezeS0GLDOsM3hs7XRYed5bfEMjR7tueFC7U4Rdn9FZQEFrfE6vkQJ5D5g4 T+tV09hfp2emM2I4u9BeWWew5hDIMIMWVb7Q/s54oOJCnJd+SCTfZy7YK+iEGHFDdcZx 4FZm+7yi5t7tXKHsrfohx0VYQlOmtRayWSBk8UhamFtnVbn8TB0IFzVtHJrHth5gYmzV 0cxDV5uI9VLhGuqhaKhiprXyN7yrVL1Wl48zIm4If/kDtVOPykb1t/gKuDyEm6hOJE8a brvw== Received: by 10.50.194.193 with SMTP id hy1mr5677041igc.53.1332159136903; Mon, 19 Mar 2012 05:12:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.17.106 with HTTP; Mon, 19 Mar 2012 05:11:56 -0700 (PDT) In-Reply-To: References: From: Robert Muir Date: Mon, 19 Mar 2012 08:11:56 -0400 Message-ID: Subject: Re: ant dist-maven creates OOM (PermGen space) on 3.x To: dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org The 'hudson hack' works here, e.g. instead ANT_OPTS=3D"-Xmx256m -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=3D128M" ant -Dversion=3D3.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 wrote: > ant -Dversion=3D3.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 > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.defineClass1(Native M= ethod) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.defineClassCond(Class= Loader.java:632) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.defineClass(ClassLoad= er.java:616) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.SecureClassLoader.defineClass= (SecureClassLoader.java:141) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.defineClass(URLClas= sLoader.java:283) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.access$000(URLClass= Loader.java:58) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader$1.run(URLClassLoade= r.java:197) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.security.AccessController.doPrivileged= (Native Method) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.net.URLClassLoader.findClass(URLClassL= oader.java:190) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoader= .java:307) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.ClassLoader.loadClass(ClassLoader= .java:248) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.DefaultLogger.formatTi= me(DefaultLogger.java:323) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.DefaultLogger.buildFin= ished(DefaultLogger.java:170) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.Project.fireBuildFinis= hed(Project.java:2037) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.Main.runBuild(Main.jav= a:778) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.Main.startAnt(Main.jav= a:217) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.launch.Launcher.run(La= uncher.java:257) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.tools.ant.launch.Launcher.main(L= auncher.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 --=20 lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org