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 Thu, 18 Dec 2008 19:38:12 GMT

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


Danilo Tuler wrote:
> 
> Hi Hiram,
> 
> 
> Hiram Chirino wrote:
>> 
>> Please post a stack trace of all those threads that on the broker side
>> when you run this test.
> 
> I'm attaching both debug logs from the server and the client.
> The OOME stack trace is below.
> 
> INFO   | jvm 1    | 2008/05/22 23:29:01 | java.lang.OutOfMemoryError:
> unable to create new native thread
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> java.lang.Thread.start0(Native Method)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> java.lang.Thread.start(Unknown Source)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.thread.DedicatedTaskRunner.<init>(DedicatedTaskRunner.java:42)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.thread.TaskRunnerFactory.createTaskRunner(TaskRunnerFactory.java:79)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.store.amq.AMQMessageStore.<init>(AMQMessageStore.java:92)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.store.amq.AMQTopicMessageStore.<init>(AMQTopicMessageStore.java:46)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.store.amq.AMQPersistenceAdapter.createTopicMessageStore(AMQPersistenceAdapter.java:455)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.region.DestinationFactoryImpl.createDestination(DestinationFactoryImpl.java:94)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.region.AbstractRegion.createDestination(AbstractRegion.java:425)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.jmx.ManagedTopicRegion.createDestination(ManagedTopicRegion.java:56)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:120)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:266)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:147)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:148)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:425)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:125)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:132)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:437)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:624)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
> INFO   | jvm 1    | 2008/05/22 23:29:01 | 	at java.lang.Thread.run(Unknown
> Source)
>  http://www.nabble.com/file/p17417715/server.log server.log 
> http://www.nabble.com/file/p17417715/amq-log.zip amq-log.zip 
> 

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


Mime
View raw message