Hello,

I'm working with the lastest 5.3 trunk and using the new KahaDBStore.
Last night I made a test:
I have a queue that contained >30 Mio messages. I started 20 consumers to
empty the queue.
The consumers are running in their own VM. While retrieving messages from
AMW the memory consumption of AMQ was constantly increasing.

Currently the logs look like this:

2009-02-13 09:08:33,461 [nitor ReadCheck] DEBUG
.transport.InactivityMonitor$1 - 24404 ms elapsed since last read check.
2009-02-13 09:08:33,462 [itor WriteCheck] DEBUG
.transport.InactivityMonitor$2 - 7049 ms elapsed since last write check.
2009-02-13 09:08:33,462 [nitor ReadCheck] DEBUG
.transport.InactivityMonitor$1 - Aborting read check.. Not enough time
elapsed since last read check.
2009-02-13 09:08:39,213 [itor WriteCheck] DEBUG
.transport.InactivityMonitor$2 - 12800 ms elapsed since last write check.
2009-02-13 09:08:44,971 [itor WriteCheck] DEBUG
.transport.InactivityMonitor$2 - 11510 ms elapsed since last write check.
2009-02-13 09:08:44,971 [itor WriteCheck] DEBUG
.transport.InactivityMonitor$2 - 11509 ms elapsed since last write check.
2009-02-13 09:08:44,971 [itor WriteCheck] DEBUG
.transport.InactivityMonitor$2 - 5758 ms elapsed since last write check.
2009-02-13 09:08:57,766 [nitor ReadCheck] DEBUG
.transport.InactivityMonitor$1 - 31354 ms elapsed since last read check.


The GC says:

INFO   | jvm 1    | 2009/02/13 09:09:28 | 70626.930: [Full GC
INFO   | jvm 1    | 2009/02/13 09:09:33 |  [PSYoungGen:
67968K->22723K(84416K)] [PSOldGen: 2519039K->2519039K(2519040K)]
2587007K->2541763K(2603456K) [PSP
ermGen: 28288K->28288K(28352K)]       GC time is exceeding GCTimeLimit of
98%
INFO   | jvm 1    | 2009/02/13 09:09:33 | , 5.8210250 secs] [Times:
user=5.80 sys=0.01, real=5.82 secs]
INFO   | jvm 1    | 2009/02/13 09:09:33 | 70632.812: [Full GC
INFO   | jvm 1    | 2009/02/13 09:09:39 |  [PSYoungGen:
67968K->22941K(84416K)] [PSOldGen: 2519039K->2519039K(2519040K)]
2587007K->2541981K(2603456K) [PSP
ermGen: 28294K->28294K(28352K)]       GC time would exceed GCTimeLimit of
98%
INFO   | jvm 1    | 2009/02/13 09:09:39 | , 5.8349920 secs] [Times:
user=5.82 sys=0.01, real=5.83 secs]
INFO   | jvm 1    | 2009/02/13 09:09:39 | 70638.708: [Full GC
INFO   | jvm 1    | 2009/02/13 09:09:46 |  [PSYoungGen:
67968K->20009K(84416K)] [PSOldGen: 2519039K->2519039K(2519040K)]
2587007K->2539049K(2603456K) [PSP
ermGen: 28299K->28277K(28352K)]       GC time would exceed GCTimeLimit of
98%



Here are my AMQ settings:

        <bean id="store"
class="org.apache.activemq.store.kahadb.KahaDBStore">
                <property name="directory" value="${activemq.base}/data"/>
                <property name="checkpointInterval"     value="5000"/>
                <property name="cleanupInterval"        value="5000"/>

                <property name="journalMaxFileLength"   value="10000000"/>
                <property name="indexWriteBatchSize" value="100" />
                <property name="enableIndexWriteAsync" value="true" />
        </bean>

Is there anything I can additionally check?

Regards

Jörg


-- 
View this message in context: 
http://www.nabble.com/Memoryleak-when-consuming-messages-from-KahaDBStore-tp21991929p21991929.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to