You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by piotr_rezmer <pi...@ens.net.pl> on 2008/10/02 14:36:20 UTC
ActiveMQ 5.1-large memory consumption of java.exe process
Hello,
I have a site with ActiveMQ 5.1. After several hours of work with traffic 10
k messages/ hour, windows task manager shows memory usage of java.exe
process about 150 MB. Usually, at this point broker stops to respond to send
requests from jms client. After NT service restart, everything starts to
work fine.
All of the messages are sent to queues, they have expiration set to 10
seconds.
I disabled persistance in xml configuration file, but it didn't solve the
problem. I also disabled advisorySupport.
Is there anything else I could modify, to make the broker more stable?
best regards
Piotr Rezmer
--
View this message in context: http://www.nabble.com/ActiveMQ-5.1-large-memory-consumption-of-java.exe-process-tp19778388p19778388.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: ActiveMQ 5.1-large memory consumption of java.exe process
Posted by piotr_rezmer <pi...@ens.net.pl>.
piotr_rezmer wrote:
>
>
> Admin Home page at localhost:8161\admin shows 100% memory percent used
>
>
Jhat shows following allocations (top)
1: 7887 19141768 [B
2: 48637 16969696 [C
3: 41707 5321648 <constMethodKlass>
4: 41707 3337536 <methodKlass>
5: 7093 3009240 [I
6: 66 2974400
[Lorg.apache.activemq.command.DataStructure;
7: 62253 2908128 <symbolKlass>
8: 13908 2559072
org.apache.activemq.command.ActiveMQTextMessage
9: 4254 2336040 <constantPoolKlass>
10: 4254 1828096 <instanceKlassKlass>
11: 3583 1433040 <constantPoolCacheKlass>
12: 47865 1148760 java.lang.String
13: 150 616800
[Lorg.apache.activemq.kaha.impl.index.hash.HashBin;
14: 14046 561840
org.apache.activemq.command.ActiveMQQueue
I'm worried about ActiveMQTextMessage, they should gc'ed. Also number of
ActiveMQQueue is strange, jconsole shows in mBeans tab, that
org.apache.activemq.broker.queues is 149
best regards
Piotr Rezmer
--
View this message in context: http://www.nabble.com/ActiveMQ-5.1-large-memory-consumption-of-java.exe-process-tp19778388p19794932.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.