activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: ActiveMq 5.14.1 - Memory Leak?
Date Fri, 21 Oct 2016 12:57:16 GMT
Also, the process your analyzing is the JVM itself.  If Task Manager and
Process Explorer show a leak but Yourkit Profiler, JConsole, or JVisualVM
do not, then the leak is in the JVM, and you'd need to direct your question
to the maker of whichever JRE you're using.

Tim

On Oct 20, 2016 11:36 AM, "Christopher Shannon" <
christopher.l.shannon@gmail.com> wrote:

> 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 <kedzierski.damian@gmail.com>
> wrote:
>
> > 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:
> > https://www.dropbox.com/s/y654vrltof1w0p2/openwire2.zip?dl=0
> >
> > 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.
> > nabble.com/ActiveMq-5-14-1-Memory-Leak-tp4718129.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>

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