On 6/25/07, Gnanaprakash <[EMAIL PROTECTED]> wrote:

Hi,

I am running an embedded ActiveMQ 4.1.1 on Jboss 4.0.3. I am doing a stress
test with the following configuration.

Publisher

Threads - 3
Iterations per thread - 100000
Sleep time between iterations - 500 ms

Consumer

Listener Thread - 1
Durable Topic consumer.

broker configuration:

memory limit set to 512 MB.

As the stress test is progresses, I can see the Memory percentage usage
increasing.

The memory percentage used is 50% for 65000 messages. That means before 100%
of the memory is used only 130000 messages only can be consumed or would
ActiveMQ's GC will clean up the memory sometime.

How does the ActiveMQ GC work?

The JVM does the garbage collection. I'd recommend setting a
reasonable heap & keeping your app running and watching the GC work
via jconsole

--
James
-------
http://macstrac.blogspot.com/

Reply via email to