activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: A question about memory usage & jvm
Date Wed, 05 Jul 2017 00:23:01 GMT
More precisely, the 70% is for within the allocated heap the memory
activemq will use for the memory store. ActiveMQ has its own data
structures unrelated to the memory store, which consume heap space from the
JVM above and beyond what is used for the memory store. But the overall
explanation is exactly right.

Also, the OS has no idea how much of the memory that has been allocated for
the JVM's heap is actually in use, so you may in fact be using only a small
fraction of the amount shown. Use JConsole, JVisualVM, or similar tools to
determine that, because top won't help you.


On Jul 4, 2017 9:16 AM, "Michael André Pearce" <>

The Java process will at the os level which is what you output from what I
can tell, will be allocated 6gb if that's what you set the heap size to
(Java will always actually use a little more than just the heap for bits
like offheap, classes (permgen) and process overhead)

The 70% is for within the allocated heap the memory activemq will use.

To see the heap utilisation you can use tools such as visualvm, jconsole
(list of tools nearly endless)


Sent from my iPhone

> On 4 Jul 2017, at 09:48, Montecchius <> wrote:
> Hello,
> I'm a little new about activemq.
> We allocated 6gb jvm memory for activemq and in the activemq.xml file we
> memory usage for jvm %70 percent.In this case it's supposed to use ( 6gb =
> 6144 mb ) 61,44 * 70 = 4.3 gb if i'm correct ?
> <>
> If you look at the picture above it uses more then that ? Could anyone can
> explain it ? Or correct me if i'm wrong?
> Regards.
> --
> 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