activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <>
Subject Re: ActiveMq 5.14.1 - Memory Leak?
Date Thu, 20 Oct 2016 17:36:00 GMT
As far as I know there haven't been any reports or issues having to do with
a memory leak in recent versions.

How much memory is being used is really up to the JVM in terms of how it
handles allocation and GC.  The only way to really know if there is a
memory leak is to analyze the results of a heap dump and see what's
actually in memory and not just how much memory is allocated.

On Thu, Oct 20, 2016 at 9:13 AM, swidnow2 <>

> Hi Guys
> I am running Broker using: 'java -cp activemq-all-5.14.1.jar
> org.apache.activemq.console.command.ShellCommand start' (JDK8u60).
> Besides of this I used OpenWire example code for Java:
> I have just modified Producer's code to send messages for longer time.
> What I observed is that memory consumed by Broker process is increasing in
> time - about 15 MB after 2 hours ('WS Private' in Process Explorer or
> 'Private Working Set' in Task Manager).
> On the other side I do not see anything suspicious using Yourkit Profiler
> (heap space is GC collected correctly).
> I have also checked the queue status using mBeans, but it looks that there
> are no messages not consumed.
> As I am new in ActiveMQ, could someone explain to me why is the memory
> consumption increasing in time for Broker process? Is it a memory leak?
> I was looking for similar topic, but could not find any - if there is,
> please guide me.
> Thank you
> Damian
> --
> View this message in context: http://activemq.2283324.n4.
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message