You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Laures <ba...@googlemail.com> on 2012/01/17 15:00:01 UTC

ActiveMQ with Xmx5G and Xms5G required more than 10G of ram

Hi,

today one of our activemq nodes required more than double the memory than we
configured for its jvm.
While this behaviour might not strictly be activmq related, maybe someone
can explain to me how a java application can "break out" of its configured
java heap.

Greetings,
Alexander

--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-with-Xmx5G-and-Xms5G-required-more-than-10G-of-ram-tp4303360p4303360.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: ActiveMQ with Xmx5G and Xms5G required more than 10G of ram

Posted by Hervé BARRAULT <he...@gmail.com>.
HI,
the configuration of Xmx and Xmx only set the maximum value for the
java heap space. You have also a Java Non Heap Space which can
allocate Memory.

You can open a jconsole when running to have detail about the memory allocation.

Regards
Hervé

On 1/17/12, Laures <ba...@googlemail.com> wrote:
> Hi,
>
> today one of our activemq nodes required more than double the memory than we
> configured for its jvm.
> While this behaviour might not strictly be activmq related, maybe someone
> can explain to me how a java application can "break out" of its configured
> java heap.
>
> Greetings,
> Alexander
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-with-Xmx5G-and-Xms5G-required-more-than-10G-of-ram-tp4303360p4303360.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>