Chris Hansen recommends use of the MarkandSweepGCCollector http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror
Instruct JVM to use ConcurrentMarkSweep Collector -XX:+UseConcMarkSweepGCTell GC to sweep PermGen space -XX:+CMSPermGenSweepingEnabledrequest JVM to Allow classes to be unloaded -XX:+CMSClassUnloadingEnabledBedankt, Martin ______________________________________________ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to please inform the sender. Any unauthorised dissemination or copying hereof is prohibited. This message serves for information purposes only and shall not have any legally binding effect. Given that e-mails can easily be subject to manipulation, we can not accept any liability for the content provided. > Date: Wed, 1 Apr 2009 16:57:49 +0200 > Subject: Re: java.lang.OutOfMemoryError: PermGen space problem > From: nick.stolw...@gmail.com > To: users@maven.apache.org; srinivasv_amb...@yahoo.com > > Yes, set your maven_opts to raise the memory for your java process. > > ie. > > export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M" > > Hth, > > Nick Stolwijk > ~Java Developer~ > > Iprofs BV. > Claus Sluterweg 125 > 2012 WS Haarlem > www.iprofs.nl > > > > On Wed, Apr 1, 2009 at 4:51 PM, SRINIVASA RAO > <srinivasv_amb...@yahoo.com> wrote: > > Hi all, > > > > When i run the mvn clean install -e command , it is getting the following > > error: > > java.lang.OutOfMemoryError: PermGen space maven > > > > Could anybody please guide to solve this problem . > > > > Regards, > > Sam > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > _________________________________________________________________ Rediscover HotmailĀ®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009