[infinispan-dev] OutOfMemory:PermGenSpace

Martin Gencur mgencur at redhat.com
Thu Apr 5 11:40:46 EDT 2012


Doesn't something similar happen with -Dlog4j.configuration= ?

I think I was not able to specify TRACE logging from command line but
actually had to use -PtraceTests. The traceTests profile has this:

https://github.com/infinispan/infinispan/blob/master/parent/pom.xml#L1429

It would help to add these lines to the normal profile's surefire
configuration:

<property>
   <name>log4j.configuration</name>
   <value>${log4j.configuration.file}</value>
</property>

...and have some default for the log4j.configuration.file

Martin


Mircea Markus píše v Thu 05. 04. 2012 v 15:27 +0100:
> Hi,
> 
> 
> Rado pinged me today re some OOM errors whilst running the test
> suite. 
> This is caused by the fact that the permgen options we pass to the
> suite are ignored:
>                <argLine>-Xmx1024m -XX:MaxPermSize=1024m</argLine>
> (the suite is not being forked)
> 
> 
> In order to avoid that please update your MAVEN_OPTS, e.g.:
> export MAVEN_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=384m"
> 
> 
> I've also updated the
> docs: https://docs.jboss.org/author/display/ISPN/Contributing+-+The
> +test+suite
> 
> 
> Cheers,
> Mircea
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-- 
Martin Gencur
--
QA Engineer, JBoss Data Grid
Desk phone: +420 532 294 192, ext. 62192



More information about the infinispan-dev mailing list