activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: xmx and memoryList
Date Thu, 06 Dec 2012 16:49:14 GMT
No, it's not.
the memoryUsage limit is for messages cached within the broker ready for
dispatch. it should be a portion of the heap usage (50-70%). you still need
heap memory for normal usage (threads, object creation, etc). if you set
memoryLImit to the same as the JVM heap, you can run OOM.

Hope that helps

On Thu, Dec 6, 2012 at 8:46 AM, Eugene Ong <> wrote:

> lets say that I set my -Xmx (heap size) to 1G. Is it a good idea to also
> set my activemq memoryUsage limit to 1G. Why or why not?

*Christian Posta*
twitter: @christianposta

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