[infinispan-dev] Infinispan testsuite sometimes throws: java.lang.OutOfMemoryError: unable to create new native thread

Manik Surtani manik at jboss.org
Wed Sep 23 07:05:26 EDT 2009


On 14 Sep 2009, at 22:05, Vladimir Blagojevic wrote:

> Hey,
>
> Did you know that test methods annotated with afterMethod and  
> afterClass were not run in case of exception being thrown during  
> test setup and execution. After you turn on annotation property  
> alwaysRun=true then you get the desired effect - cleanup is executed  
> no matter what.
>
> I found two relevant places these were used: SingleCacheManagerTest  
> MultipleManagersCacheTest.

Very useful to know - cc'ing infinispan-dev with this info as well.

Vlad, have you corrected SingleCacheManagerTest and  
MultipleManagersCacheTest to add alwaysRun = true?

You may also want to mention this on

	http://www.jboss.org/community/wiki/ParallelTestSuite

>
> Are there any others?
>
> Cheers
>
> On 09-09-14 10:43 AM, Galder Zamarreno wrote:
>>
>>
>> On 09/14/2009 04:40 PM, Vladimir Blagojevic wrote:
>>> </snip>
>>>
>>> I noticed that testsuite runs more than 500 threads at some  
>>> points. I
>>> will also try to see what I can dig up today.
>>>
>>
>> If you see it again, try to generate a thread dump. I suspect the  
>> thread dumps might be massive to be able to easily copy/paste from  
>> command line output, so from now on I'm gonna direct the output to  
>> a file and tail it instead.
>>
>

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list