[infinispan-dev] OutOfMemory:PermGenSpace

Galder Zamarreño galder at redhat.com
Tue Apr 10 11:11:21 EDT 2012


On Apr 5, 2012, at 5:40 PM, Martin Gencur wrote:

> 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

^ This is explained in "Enabling TRACE in test logs" in https://docs.jboss.org/author/x/XAFJ 

> 
> 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
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the infinispan-dev mailing list