Hello Brian,

you are using ActveMQ classic, right? Please provide the version.
The management console is there in this case, yes but I did not find it 
very useful, that's right.
To monitor memory etc. the JMX interface together with JVisualVM is the 
real hit in this case.
Are you familiar with this tool?
What platform are you running on?
How many clients did you connect?

Regards

Herbert
 





Von:    "Brian Allen" <brian.al...@acspower.com>
An:     "users@activemq.apache.org" <users@activemq.apache.org>
Datum:  09.11.2023 21:06
Betreff:        [Ext] Activemq heap space issues



Hello I am troubleshooting actviemq and I am getting memory errors. I am 
trying to determine the best way to investigate how to mitigate these 
errors by adjusting the settings.  Is there documentation on 
troubleshooting memory issues? I am able to view the web console and I see 
a bunch of messages in the queue but not really much else. Thanks for any 
help you can provide.

2023-11-08 23:21:23,539 | INFO  | ActiveMQ WebConsole available at 
http://127.0.0.1:8161/ | org.apache.activemq.web.WebConsoleStarter | main
2023-11-08 23:21:23,539 | INFO  | ActiveMQ Jolokia REST API available at 
http://127.0.0.1:8161/api/jolokia/ | 
org.apache.activemq.web.WebConsoleStarter | main
2023-11-09 02:48:47,015 | ERROR | Error in thread 'ActiveMQ 
BrokerService[localhost] Task-2162' | 
org.apache.activemq.thread.TaskRunnerFactory | ActiveMQ 
BrokerService[localhost] Task-2162
java.lang.OutOfMemoryError: Java heap space
2023-11-09 02:48:47,015 | ERROR | Error in thread 'ActiveMQ 
BrokerService[localhost] Task-1943' | 
org.apache.activemq.thread.TaskRunnerFactory | ActiveMQ 
BrokerService[localhost] Task-1943
java.lang.OutOfMemoryError: Java heap space
2023-11-09 02:48:46,634 | ERROR | Error in thread 'ActiveMQ 
BrokerService[localhost] Task-1305' | 
org.apache.activemq.thread.TaskRunnerFactory | ActiveMQ 
BrokerService[localhost] Task-1305
java.lang.OutOfMemoryError: Java heap space
2023-11-09 02:48:46,633 | ERROR | Error in thread 'ActiveMQ 
BrokerService[localhost] Task-1002' | 
org.apache.activemq.thread.TaskRunnerFactory | ActiveMQ 
BrokerService[localhost] Task-1002
java.lang.OutOfMemoryError: Java heap space
2023-11-09 02:47:58,853 | ERROR | Error in thread 'ActiveMQ 
BrokerService[localhost] Task-2175' | 
org.apache.activemq.thread.TaskRunnerFactory | ActiveMQ 
BrokerService[localhost] Task-2175
java.lang.OutOfMemoryError: Java heap space
        at 
java.base/jdk.internal.misc.Unsafe.allocateUninitializedArray(Unsafe.java:1375)
        at 
java.base/java.lang.StringConcatHelper.newArray(StringConcatHelper.java:497)
        at 
java.base/java.lang.StringConcatHelper.simpleConcat(StringConcatHelper.java:421)
        at 
java.base/java.lang.invoke.DirectMethodHandle$Holder.invokeStatic(DirectMethodHandle$Holder)

Brian Allen

This email and any file attached to it (when applicable) contain(s) 
confidential information that is exclusively addressed to its 
recipient(s). If you are not the indicated recipient, you are informed 
that reading, using, disseminating and/or copying it without authorization 
is forbidden in accordance with the legislation in effect. If you have 
received this email by mistake, please immediately notify the sender of 
the situation by resending it to their email address.
Avoid printing this message if it is not absolutely necessary.

Este correo electr?nico y, en su caso, cualquier fichero anexo al mismo, 
contiene informaci?n de car?cter confidencial exclusivamente dirigida a su 
destinatario o destinatarios. Si no es vd. el destinatario indicado, queda 
notificado que la lectura, utilizaci?n, divulgaci?n y/o copia sin 
autorizaci?n est? prohibida en virtud de la legislaci?n vigente. En el 
caso de haber recibido este correo electr?nico por error, se ruega 
notificar inmediatamente esta circunstancia mediante reenv?o a la 
direcci?n electr?nica del remitente.
Evite imprimir este mensaje si no es estrictamente necesario.




Reply via email to