[ 
https://issues.apache.org/jira/browse/ARTEMIS-862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15684107#comment-15684107
 ] 

clebert suconic commented on ARTEMIS-862:
-----------------------------------------

I will close this as not a bug. So far it seems an operatoinal problem you're 
having with too many messages on the journal and not being able to handle the 
startup on your memory.


Can you open a thread on the user-list. if we identify a bug through the 
discussion then we can open one.


do ./artemis data print at your non running broker... and see what you see.

> OutOfMemory issue
> -----------------
>
>                 Key: ARTEMIS-862
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-862
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 1.4.0
>            Reporter: T H
>         Attachments: Screen Shot 2016-11-21 at 15.16.52.png, artemis-out.log, 
> artemis.log, artemis_gc.log, jmxtrans-out.log, jmxtrans.log, jmxtrans_gc.log
>
>
> *Summary* 
> We are getting a OutOfMemory exception. This error is consistent and occurs 
> on each startup of ActiveMQ.
> We would appreciate any help in understanding this problem. 
> The heap dump shows the following: 
>   
> "main" prio=5 tid=1 RUNNABLE
>       at java.lang.OutOfMemoryError.<init>(OutOfMemoryError.java:48)
>       at 
> org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readSimpleStringInternal(ChannelBufferWrapper.java:89)
>       at 
> org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper.readSimpleString(ChannelBufferWrapper.java:84)
>       at 
> org.apache.activemq.artemis.utils.TypedProperties$StringValue.<init>(TypedProperties.java:897)
>       at 
> org.apache.activemq.artemis.utils.TypedProperties$StringValue.<init>(TypedProperties.java:888)
>       at 
> org.apache.activemq.artemis.utils.TypedProperties.decode(TypedProperties.java:428)
>          Local Variable: 
> org.apache.activemq.artemis.api.core.SimpleString#1437351
>          Local Variable: 
> org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper#59891
>          Local Variable: 
> org.apache.activemq.artemis.utils.TypedProperties#59890
>       at 
> org.apache.activemq.artemis.core.message.impl.MessageImpl.decodeHeadersAndProperties(MessageImpl.java:233)
>       at 
> org.apache.activemq.artemis.core.message.impl.MessageImpl.decode(MessageImpl.java:982)
>       at 
> org.apache.activemq.artemis.core.message.impl.MessageImpl.decode(MessageImpl.java:496)
>          Local Variable: 
> org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper#59890
>       at 
> org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.loadMessageJournal(AbstractJournalStorageManager.java:914)
>          Local Variable: java.util.ArrayList#178066
>          Local Variable: 
> org.apache.activemq.artemis.core.journal.JournalLoadInformation#2
>          Local Variable: java.util.HashMap#130450
>          Local Variable: java.util.HashMap#130449
>          Local Variable: 
> org.apache.activemq.artemis.core.postoffice.impl.PostOfficeImpl#1
>          Local Variable: 
> org.apache.activemq.artemis.core.paging.impl.PagingManagerImpl#1
>          Local Variable: 
> org.apache.activemq.artemis.core.persistence.impl.journal.JournalStorageManager#1
>          Local Variable: java.util.ArrayList#346
>          Local Variable: java.util.HashMap#60450
>          Local Variable: java.util.ArrayList#345
>          Local Variable: 
> org.apache.activemq.artemis.core.transaction.impl.ResourceManagerImpl#1
>          Local Variable: 
> org.apache.activemq.artemis.core.server.impl.ServerMessageImpl#59890
>          Local Variable: 
> org.apache.activemq.artemis.core.journal.RecordInfo#53486
>       at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.loadJournals(ActiveMQServerImpl.java:2146)
>          Local Variable: java.util.HashMap#60452
>          Local Variable: java.util.HashSet#82
>          Local Variable: java.util.LinkedList#135
>          Local Variable: 
> org.apache.activemq.artemis.core.journal.JournalLoadInformation[]#1
>          Local Variable: java.util.ArrayList#279
>          Local Variable: java.util.ArrayList#280
>          Local Variable: java.util.HashMap#60451
>          Local Variable: 
> org.apache.activemq.artemis.core.server.impl.PostOfficeJournalLoader#1
>       at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.initialisePart2(ActiveMQServerImpl.java:1999)
>       at 
> org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation.run(SharedNothingLiveActivation.java:105)
>          Local Variable: 
> org.apache.activemq.artemis.core.server.impl.SharedNothingLiveActivation#1
>       at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.start(ActiveMQServerImpl.java:447)
>          Local Variable: 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl#1
>       at 
> org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:412)
>       at 
> org.apache.activemq.artemis.integration.FileBroker.start(FileBroker.java:66)
>          Local Variable: 
> org.apache.activemq.artemis.core.config.impl.FileConfiguration#2
>          Local Variable: 
> org.apache.activemq.artemis.jms.server.config.impl.FileJMSConfiguration#1
>          Local Variable: 
> org.apache.activemq.artemis.core.config.FileDeploymentManager#1
>          Local Variable: java.util.ArrayList#261
>          Local Variable: org.apache.activemq.artemis.integration.FileBroker#1
>          Local Variable: java.util.ArrayList$Itr#2
>       at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:78)
>          Local Variable: 
> org.apache.activemq.artemis.core.config.impl.FileConfiguration#1
>          Local Variable: 
> org.apache.activemq.artemis.cli.commands.ActionContext#1
>          Local Variable: org.apache.activemq.artemis.dto.BrokerDTO#1
>          Local Variable: 
> org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager#1
>       at 
> org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:120)
>          Local Variable: org.apache.activemq.artemis.cli.commands.Run#1
>       at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:75)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>          Local Variable: sun.reflect.NativeMethodAccessorImpl#1
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>          Local Variable: java.lang.Object[]#565
>          Local Variable: sun.reflect.DelegatingMethodAccessorImpl#1
>       at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:122)
>          Local Variable: java.lang.String#4325
>          Local Variable: java.lang.reflect.Method#298
>          Local Variable: class org.apache.activemq.artemis.cli.Artemis
>          Local Variable: java.net.URLClassLoader#1
>          Local Variable: java.util.ArrayList#7
>          Local Variable: java.util.ArrayList#6
>          Local Variable: sun.misc.Launcher$AppClassLoader#1
>       at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:45)
>          Local Variable: java.io.File#5
>          Local Variable: java.io.File#6
>          Local Variable: java.lang.String#3974
>          Local Variable: java.lang.String#3973
>          Local Variable: java.lang.String[]#269
> Additional info will be provided in comments. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to