Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 35009 invoked from network); 4 Dec 2008 03:36:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 03:36:31 -0000 Received: (qmail 97659 invoked by uid 500); 4 Dec 2008 03:36:43 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 97615 invoked by uid 500); 4 Dec 2008 03:36:43 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 97603 invoked by uid 99); 4 Dec 2008 03:36:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 19:36:43 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 03:35:13 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1L850S-0006yM-R7 for dev@cxf.apache.org; Wed, 03 Dec 2008 19:36:00 -0800 Message-ID: <20826675.post@talk.nabble.com> Date: Wed, 3 Dec 2008 19:36:00 -0800 (PST) From: Glen Mazza To: dev@cxf.apache.org Subject: RE: Update build instructions on PermGen space? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: glen.mazza@gmail.com References: <20786343.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks, updated the web page yesterday on this. BTW, does anyone also set the JAVA_OPTS variable to the same values as MAVEN_OPTS, or is that generally not necessary so long as you're building with Maven? Glen Sean O'Callaghan wrote: >=20 > Hi, >=20 > I was having problems with PermGen space when building CXF on my windows > machine, and updating the=20 > MAVEN_OPTS to -Xmx1024m -XX:MaxPermSize=3D256m -XX:+CMSClassUnloadingEnab= led > helped resolve it. >=20 > My inclination would be to suggest it as the default setting. >=20 > Se=C3=A1n. >=20 >=20 >=20 >=20 >> -----Original Message----- >> From: Glen Mazza [mailto:glen.mazza@gmail.com] >> Sent: 02 December 2008 05:25 >> To: dev@cxf.apache.org >> Subject: Update build instructions on PermGen space? >>=20 >>=20 >>=20 >> Hello, >>=20 >> Our build instructions[1] say the following: On 64bit=20 >> platforms (64bit >> Linux and Solaris are known to require this), you also need=20 >> to increase the >> PermGen space: export MAVEN_OPTS=3D"-XX:MaxPermSize=3D128m -Xmx512M" >>=20 >> It has turned out that I needed to do this also on a 32-bit=20 >> Ubuntu Linux >> box. Should we update the instructions to (1) tell people to=20 >> *always* add >> the MaxPermSize value above (even for the Windows folks) in=20 >> addition to the >> -Xmx512M one, or (2) should I just rephrase the above to tell=20 >> people to also >> use this if they get PermGen errors, or (3) remove the 64bit=20 >> platform issue >> and just say if you're using Linux or Solaris (i.e.,=20 >> regardless of 32 or 64 >> bit) to add this value. >>=20 >> Thanks, >> Glen >>=20 >> [1] http://cxf.apache.org/building.html >> --=20 >> View this message in context:=20 > http://www.nabble.com/Update-build-instructions-on-PermGen-space--tp20786= 343p20786343.html > Sent from the cxf-dev mailing list archive at Nabble.com. >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Update-build-instructio= ns-on-PermGen-space--tp20786343p20826675.html Sent from the cxf-dev mailing list archive at Nabble.com.