Hi Thanks for repley. When i put the following line into mvn.bat file, set MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M" It is still giving the error. regards, Sam
--- On Wed, 4/1/09, Martin Gainty <[email protected]> wrote: From: Martin Gainty <[email protected]> Subject: RE: java.lang.OutOfMemoryError: PermGen space problem To: [email protected] Date: Wednesday, April 1, 2009, 8:45 PM 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: [email protected] > To: [email protected]; [email protected] > > 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 > <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > _________________________________________________________________ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009
