I need to research the "used heap size" to understand what are the right
numbers that way. Using jconsole or visualvm, the total heap size is
displayed and graphed in an easy-to-use format, and the total never
exceeds the max (when it hits, GC kicks in).
BTW, another great tool for looking at JVM
The broker runs inside a JVM. If the JVM runs out of memory, the broker is
impacted.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Hung-ActiveMQ-broker-and-processes-are-blocking-tp4675874p4676081.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
According to this page,
http://stackoverflow.com/questions/3334911/what-does-jvm-flag-cmsclassunloadingenabled-actually-do,
the following is also needed for permgen sweeping to work:
-XX+UseConcMarkSweepGC
We are using that one as well.
--
View this message in context:
http://activemq.2283
GC is JVM option, so, It should not affect the broker.
2014/1/7 khandelwalanuj
> I checked the usage and also increased the heap size for my broker.
>
> But will you please let me know about "enabling permgen space garbage
> collection". How to do it and are there any side effects after this ?
One more thing.
While my broker was hung, my total used heap is exceeded max heap size. I
don;t understand why ?
I calculated heap using "JMAP -heap PID" command.
where:
used heap size = used (PS Old Generation) + used(Eden Space)
how can this value be more than maxHeapSpace ?
Thanks,
Anuj
I checked the usage and also increased the heap size for my broker.
But will you please let me know about "enabling permgen space garbage
collection". How to do it and are there any side effects after this ?
Thanks,
Anuj
--
View this message in context:
http://activemq.2283324.n4.nabble.com
Have you checked the memory use of the process? Use a JMX client (such as
jconsole or visualvm) to watch the memory use on the broker until it
freezes. Watch permgen space and heap space especially.
High connection counts point to a possible permgen space issue.
Most commonly the entire broker
I looked at stack trace and it has something to do with inactivity monitor.
Some one from ActiveMQ development team can help us here.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Hung-ActiveMQ-broker-and-processes-are-blocking-tp4675874p4675967.html
Sent from the Activ
Please respond...
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Hung-ActiveMQ-broker-and-processes-are-blocking-tp4675874p4675928.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.