jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: jackrabbit-core integration tests memory/GC problems
Date Thu, 21 Jun 2012 15:14:54 GMT
On 2012-06-21 16:07, Julian Reschke wrote:
> On 2012-06-21 15:46, Jukka Zitting wrote:
>> Hi,
>>
>> On Thu, Jun 21, 2012 at 3:14 PM, Julian Reschke
>> <julian.reschke@gmx.de> wrote:
>>> are there recommended maven_opts for running with -PintegrationTesting?
>>>
>>> The only results I currently get are either out of memory exceptions
>>> *or* GC
>>> timeouts. (jdk1.6, win64, on org.apache.jackrabbit.core.data.TestAll)
>>
>> I haven't encountered the problem (Java 7 on Linux), and it looks like
>> our Jenkins build (Java 6 on Solaris) that doesn't use any specific
>> MAVEN_OPTS setting is also fine. It looks like a platform-specific
>> problem, either caused by too little memory used by the default JVM
>> settings or by some problem in the way our code interacts with the
>> host platform.
>>
>> Is this a recent issue, i.e. can you reproduce it in the same
>> environment with an older revision of Jackrabbit trunk?
>
> I'm now running with
>
>    -Xmx1024m -XX:MaxPermSize=250m
>
> and it appears to work again.
>
> Next time it happens I'll try to collect more data.
> ...

OK, it appears the problem has nothing (or little to do with memory 
settings). Attached is a thread dump from a case where 
org.apache.jackrabbit.core.data.TestAll appears to be hanging, and then 
finally fails with OOM).

Best regards, Julian

Mime
View raw message