javax.jms.JMSException: Java heap space

nabble.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at org.apache.activemq.util.DataByteArrayOutputStream.<init>()
  2. ActiveMQ :: Broker
    DataByteArrayOutputStream.<init>
    1. org.apache.activemq.util.DataByteArrayOutputStream.<init>(DataByteArrayOutputStream.java:45)
    1 frame
  3. ActiveMQ :: Core
    AMQPersistenceAdapter.createTopicMessageStore
    1. org.apache.activemq.kaha.impl.index.hash.HashIndex.load(HashIndex.java:246)
    2. org.apache.activemq.kaha.impl.container.MapContainerImpl.load(MapContainerImpl.java:107)
    3. org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter.getSubsMapContainer(KahaPersistenceAdapter.java:222)
    4. org.apache.activemq.store.kahadaptor.KahaReferenceStoreAdapter.createTopicReferenceStore(KahaReferenceStoreAdapter.java:171)
    5. org.apache.activemq.store.amq.AMQPersistenceAdapter.createTopicMessageStore(AMQPersistenceAdapter.java:456)
    5 frames
  4. ActiveMQ :: Broker
    TransportConnection.processMessage
    1. org.apache.activemq.broker.region.DestinationFactoryImpl.createDestination(DestinationFactoryImpl.java:94)
    2. org.apache.activemq.broker.region.AbstractRegion.createDestination(AbstractRegion.java:425)
    3. org.apache.activemq.broker.jmx.ManagedTopicRegion.createDestination(ManagedTopicRegion.java:56)
    4. org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:120)
    5. org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:266)
    6. org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141)
    7. org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:147)
    8. org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141)
    9. org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:148)
    10. org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:425)
    11. org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)
    12. org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:125)
    13. org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)
    14. org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:132)
    15. org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:437)
    15 frames
  5. ActiveMQ :: Core
    ActiveMQMessage.visit
    1. org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:624)
    1 frame
  6. ActiveMQ :: Broker
    TransportConnection$1.onCommand
    1. org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
    2. org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
    2 frames
  7. AMQ HTTP
    TransportFilter.onCommand
    1. org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
    2. org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
    2 frames
  8. ActiveMQ :: Broker
    VMTransport.iterate
    1. org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
    1 frame
  9. ActiveMQ :: Core
    PooledTaskRunner$1.run
    1. org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
    2. org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
    2 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    3. java.lang.Thread.run(Thread.java:613)
    3 frames