activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: Start 5 durable subscribers simultaneously ,broker throw OutOfMemory exception
Date Fri, 26 Oct 2012 09:04:37 GMT

On Oct 26, 2012, at 7:25 AM, Liu fuming wrote:

> There is 1GB durable topic messages left in KahaDB files ,with 1 mb size per
> message.Then start 5 durable subscribers simultaneously to receive the
> stored messages,the Broker run out of memory immediately. There's one way to
> prevent this from happening,that is configure the size of parameter
> durableTopicPrefetch and maxPageSize in PolicyEntry. I wonder if there's
> another way to do this.

I presume bigger JVM heap size should help as well as a lower prefetch for durable topic subscriber.


Torsten Mielke

View raw message