activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stefan.moser" <stefan.mo...@wolverton.ca>
Subject Re: java.lang.OutOfMemoryError: unable to create new native thread on AMQ 5.0
Date Fri, 19 Dec 2008 17:54:21 GMT

Hi Gary,

I don't think there is a JIRA issue.  I have just discovered that the
setting I was using for the dedicated task runner was being ignored.  I'm
running ActiveMQ as a Windows Service and I just found that there is also a
setting for the dedicated task runner in bin\win32\wrapper.conf.  I was
using dedicatedTaskRunner="false" on the broker node in conf\activemq.xml
and it was being overridden by the setting in wrapper.conf.

Now that I have the dedicated task runner turned off, the number of threads
remains low and I am able to create more topics than before.  The problem
now is that there is so much context switching going on that it has
practically ground to halt.  I'm going to try to tweak the memory settings
and see if I can get better performance.

I still haven't been able to determine what the practical limit is for the
number of topics in ActiveMQ, but so far I'm still at least an order of
magnitude under what I require.

Thanks for your help Gary.

Cheers,
Stefan



Gary Tully wrote:
> 
> Stefan,
> is there a jira issue for this, if not can you open one and capture
> the problem with a test case. Is it that even with "dedicated task
> runner"=false there is a direct correlation between the number of
> threads and the number of destinations?
> 
> Or is it that the memory usage of a destination is too high?
> 
> Would like to get to the bottom of this.
> 
> 2008/12/18 stefan.moser <stefan.moser@wolverton.ca>:
>>
>> So this issue doesn't occur in 4.1?  I might consider downgrading because
>> I
>> have no other options at this point.
>>
>> Thanks,
>> Stefan
>>
>> Danilo Tuler wrote:
>>>
>>> Hi Stefan,
>>>
>>> I'm on the same boat.
>>> I'm hitting some 4.1 issues, and I'm considering (again) to migrate to
>>> 5.2.0.
>>> But this issue is pushing me back.
>>>
>>> Danilo
>>>
>>>
>>> stefan.moser wrote:
>>>>
>>>> Has there been any progress on this issue?  I've just started using
>>>> ActiveMQ and require a large number of topics.  I am getting the same
>>>> OOME once it creates ~1000 topics.  I've tried this with v 5.0, 5.1 and
>>>> 5.2.
>>>>
>>>> Thanks,
>>>> Stefan
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/java.lang.OutOfMemoryError%3A-unable-to-create-new-native-thread-on-AMQ-5.0-tp17005441p21079903.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source SOA
> http://FUSESource.com
> 
> 

-- 
View this message in context: http://www.nabble.com/java.lang.OutOfMemoryError%3A-unable-to-create-new-native-thread-on-AMQ-5.0-tp17005441p21095619.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message