activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <>
Subject Re: finding workaround to solve memory leak problem when creating large numbers of TemporaryQueues (Log4J related)
Date Thu, 22 Apr 2010 17:37:18 GMT

One possible workaround is to use a combination of permanent queue and header
property (e.g., correlationId). See the following


ActiveMQ Reference Guide:

easyl wrote:
> I am using embedded AMQ 4.1.2 (in geronimo 2.1.4)
> and find there is a memory problem similar to this:
> I run a system (64bit, 3G mem) after 8 hours, about 1000000 temp queue was
> created for send/reply.
> I can find 400~500 MB (and counting) for Log4j instance from memory dump
> (jmap).
> Is there any workaround so that I don't need to upgrade AMQ, compile,
> patch AMQ, and etc.
> Can I possible remove those log4j instance for temporary queue at runtime?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message