activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gnanaprakash <remindprak...@gmail.com>
Subject Re: Memory usage always increasing
Date Tue, 26 Jun 2007 17:06:05 GMT

Hi,

The heap size I configured was min - 512 MB and max 1024 MB in Jboss.

My Activemq memory limit was 512 MB.

The application as such does not use more that 250 - 300 MB. 

I tried configuring GC interval to every 15 mins. The GC seems to work but
the activemq memory usage is not coming down.

Is this the right memory setting?

Can you pls suggest something in this regards?

Thanks
GP



James.Strachan wrote:
> 
> On 6/25/07, Gnanaprakash <remindprakash@gmail.com> 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/
> 
> 

-- 
View this message in context: http://www.nabble.com/Memory-usage-always-increasing-tf3979402s2354.html#a11309775
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message