cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean O'Callaghan" <SEA...@progress.com>
Subject RE: Update build instructions on PermGen space?
Date Thu, 04 Dec 2008 10:34:30 GMT
Hi Glen,

Personally, don't set JAVA_OPTS, don't think it is used.

Seán.



> -----Original Message-----
> From: Glen Mazza [mailto:glen.mazza@gmail.com]
> Sent: 04 December 2008 03:36
> To: dev@cxf.apache.org
> Subject: RE: Update build instructions on PermGen space?
> 
> 
> 
> 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:
> > 
> > Hi,
> > 
> > I was having problems with PermGen space when building CXF 
> on my windows
> > machine, and updating the 
> > MAVEN_OPTS to -Xmx1024m -XX:MaxPermSize=256m 
> -XX:+CMSClassUnloadingEnabled
> > helped resolve it.
> > 
> > My inclination would be to suggest it as the default setting.
> > 
> > Seán.
> > 
> > 
> > 
> > 
> >> -----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?
> >> 
> >> 
> >> 
> >> Hello,
> >> 
> >> Our build instructions[1] say the following:  On 64bit 
> >> platforms (64bit
> >> Linux and Solaris are known to require this), you also need 
> >> to increase the
> >> PermGen space: export MAVEN_OPTS="-XX:MaxPermSize=128m -Xmx512M"
> >> 
> >> It has turned out that I needed to do this also on a 32-bit 
> >> Ubuntu Linux
> >> box.  Should we update the instructions to (1) tell people to 
> >> *always* add
> >> the MaxPermSize value above (even for the Windows folks) in 
> >> addition to the
> >> -Xmx512M one, or (2) should I just rephrase the above to tell 
> >> people to also
> >> use this if they get PermGen errors, or (3) remove the 64bit 
> >> platform issue
> >> and just say if you're using Linux or Solaris (i.e., 
> >> regardless of 32 or 64
> >> bit) to add this value.
> >> 
> >> Thanks,
> >> Glen
> >> 
> >> [1] http://cxf.apache.org/building.html
> >> -- 
> >> View this message in context: 
> > 
> http://www.nabble.com/Update-build-instructions-on-PermGen-spa
> ce--tp20786343p20786343.html
> > Sent from the cxf-dev mailing list archive at Nabble.com.
> > 
> > 
> > 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Update-build-instructions-on-PermGen-spa
> ce--tp20786343p20826675.html
> Sent from the cxf-dev mailing list archive at Nabble.com.
> 
> 
Mime
View raw message