activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <christopher.l.shan...@gmail.com>
Subject Re: org.apache.activemq.usage.MemoryUsage consumes 95% of the memory?
Date Fri, 21 Aug 2015 13:45:37 GMT
The callbacks are in the parent class, Usage.  They are used to signal when
the Usage is no longer full.

On Fri, Aug 21, 2015 at 1:02 AM, Tim Bain <tbain@alumni.duke.edu> wrote:

> I see no references to a Map or to a field called callbacks in
>
> http://www.grepcode.com/file/repo1.maven.org/maven2/org.apache.activemq/activemq-client/5.11.1/org/apache/activemq/usage/MemoryUsage.java
>
> Can you give more details of what you're seeing?
> On Aug 20, 2015 1:25 PM, "yang.yang.zz" <yang.yang.zz@outlook.com> wrote:
>
> > Hi:
> >
> > When I tested our product wtih ActiveMQ 5.11.1, we observed a high memory
> > usage spike in a ActiveMQ broker process.
> >
> > This broker has 9G memory configured. It's using memoryCursor to cache
> > messages. But for each Queue it has a memory limit for 200M.
> >
> > Then we observed a high memory usage spike during our test. Having got a
> > heapdump from this broker. We saw 5.89G live content. But 5.62G is
> consumed
> > by a single java class called *org.apache.activemq.usage.MemoryUsage*.
> > Having looked inside, there is a callbacks List in this class which has
> 220
> > million object.
> >
> > This MemoryUsage instance is monitoring a Queue which has less than 200MB
> > content.  Does anyone know why this MemoyUsage has such many object in
> the
> > callbacks List and consumed such a huge amount of memory?
> >
> > Thanks!
> > -Yang
> >
> >
> >
> > --
> > View this message in context:
> >
> http://activemq.2283324.n4.nabble.com/org-apache-activemq-usage-MemoryUsage-consumes-95-of-the-memory-tp4701250.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>

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