java.lang.OutOfMemoryError

Java heap space at   >> org >> .apache >> .activemq >> .util >> .DataByteArrayOutputStream.<init>(DataByteArrayOutputStream.java:45) at   >> org >> .apache.activemq.kaha.impl.index.hash.HashIndex.load(HashIndex.java: >> 246) at   >> org >> .apache >> .activemq >> .kaha.impl.container.MapContainerImpl.load(MapContainerImpl.java:107) at   >> org >> .apache >> .activemq >> .store >> .kahadaptor >> .KahaPersistenceAdapter >> .getSubsMapContainer(KahaPersistenceAdapter.java:222) at   >> org >> .apache >> .activemq >> .store >> .kahadaptor >> .KahaReferenceStoreAdapter >> .createTopicReferenceStore(KahaReferenceStoreAdapter.java:171) at   >> org >> .apache >> .activemq >> .store >> .amq >> .AMQPersistenceAdapter >> .createTopicMessageStore(AMQPersistenceAdapter.java:456) at   >> org >> .apache >> .activemq >> .broker >> .region >> .DestinationFactoryImpl >> .createDestination(DestinationFactoryImpl.java:94) at   >> org >> .apache >> .activemq >> .broker.region.AbstractRegion.createDestination(AbstractRegion.java: >> 425) at   >> org >> .apache >> .activemq >> .broker >> .jmx.ManagedTopicRegion.createDestination(ManagedTopicRegion.java:56) at   >> org >> .apache >> .activemq >> .broker.region.AbstractRegion.addDestination(AbstractRegion.java:120) at   >> org >> .apache >> .activemq >> .broker.region.RegionBroker.addDestination(RegionBroker.java:266) at   >> org >> .apache >> .activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141) at   >> org >> .apache >> .activemq >> .advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:147) at   >> org >> .apache >> .activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141) at   >> org >> .apache >> .activemq >> .broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java: >> 148) at   >> org >> .apache.activemq.broker.region.RegionBroker.send(RegionBroker.java: >> 425) at   >> org >> .apache >> .activemq.broker.TransactionBroker.send(TransactionBroker.java:224) at   >> org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:125) at   >> org >> .apache >> .activemq >> .broker >> .CompositeDestinationBroker.send(CompositeDestinationBroker.java:95) at   >> org >> .apache >> .activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java: >> 132) at   >> org >> .apache >> .activemq >> .broker.TransportConnection.processMessage(TransportConnection.java: >> 437) at   >> org >> .apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java: >> 624) at   >> org >> .apache >> .activemq >> .broker.TransportConnection.service(TransportConnection.java:292) at org.apache.activemq.broker.TransportConnection >> $1.onCommand(TransportConnection.java:180) at   >> org >> .apache >> .activemq >> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104) at   >> org >> .apache >> .activemq.transport.TransportFilter.onCommand(TransportFilter.java: >> 68) at   >> org >> .apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java: >> 205) at   >> org >> .apache >> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) at org.apache.activemq.thread.PooledTaskRunner >> $1.run(PooledTaskRunner.java:43) at java.util.concurrent.ThreadPoolExecutor >> $Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor >> $Worker.run(ThreadPoolExecutor.java:675)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123

  • via GitHub by GoogleCodeExporter
    ,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at   >> org >> .apache >> .activemq >> .util >> .DataByteArrayOutputStream.<init>(DataByteArrayOutputStream.java:45) at   >> org >> .apache.activemq.kaha.impl.index.hash.HashIndex.load(HashIndex.java: >> 246) at   >> org >> .apache >> .activemq >> .kaha.impl.container.MapContainerImpl.load(MapContainerImpl.java:107) at   >> org >> .apache >> .activemq >> .store >> .kahadaptor >> .KahaPersistenceAdapter >> .getSubsMapContainer(KahaPersistenceAdapter.java:222) at   >> org >> .apache >> .activemq >> .store >> .kahadaptor >> .KahaReferenceStoreAdapter >> .createTopicReferenceStore(KahaReferenceStoreAdapter.java:171) at   >> org >> .apache >> .activemq >> .store >> .amq >> .AMQPersistenceAdapter >> .createTopicMessageStore(AMQPersistenceAdapter.java:456) at   >> org >> .apache >> .activemq >> .broker >> .region >> .DestinationFactoryImpl >> .createDestination(DestinationFactoryImpl.java:94) at   >> org >> .apache >> .activemq >> .broker.region.AbstractRegion.createDestination(AbstractRegion.java: >> 425) at   >> org >> .apache >> .activemq >> .broker >> .jmx.ManagedTopicRegion.createDestination(ManagedTopicRegion.java:56) at   >> org >> .apache >> .activemq >> .broker.region.AbstractRegion.addDestination(AbstractRegion.java:120) at   >> org >> .apache >> .activemq >> .broker.region.RegionBroker.addDestination(RegionBroker.java:266) at   >> org >> .apache >> .activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141) at   >> org >> .apache >> .activemq >> .advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:147) at   >> org >> .apache >> .activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141) at   >> org >> .apache >> .activemq >> .broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java: >> 148) at   >> org >> .apache.activemq.broker.region.RegionBroker.send(RegionBroker.java: >> 425) at   >> org >> .apache >> .activemq.broker.TransactionBroker.send(TransactionBroker.java:224) at   >> org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:125) at   >> org >> .apache >> .activemq >> .broker >> .CompositeDestinationBroker.send(CompositeDestinationBroker.java:95) at   >> org >> .apache >> .activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java: >> 132) at   >> org >> .apache >> .activemq >> .broker.TransportConnection.processMessage(TransportConnection.java: >> 437) at   >> org >> .apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java: >> 624) at   >> org >> .apache >> .activemq >> .broker.TransportConnection.service(TransportConnection.java:292) at org.apache.activemq.broker.TransportConnection >> $1.onCommand(TransportConnection.java:180) at   >> org >> .apache >> .activemq >> .transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104) at   >> org >> .apache >> .activemq.transport.TransportFilter.onCommand(TransportFilter.java: >> 68) at   >> org >> .apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java: >> 205) at   >> org >> .apache >> .activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) at org.apache.activemq.thread.PooledTaskRunner >> $1.run(PooledTaskRunner.java:43) at java.util.concurrent.ThreadPoolExecutor >> $Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor >> $Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    arturgajowyarturgajowy
    2 times, last one
    TahirTahir
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    3 more bugmates