]
ehsavoie Hugonnet reassigned WFLY-10326:
----------------------------------------
Assignee: ehsavoie Hugonnet (was: Jeff Mesnil)
Add setting to control global memory usage for messaging servers
----------------------------------------------------------------
Key: WFLY-10326
URL:
https://issues.jboss.org/browse/WFLY-10326
Project: WildFly
Issue Type: Feature Request
Components: JMS
Reporter: Jeff Mesnil
Assignee: ehsavoie Hugonnet
Priority: Major
Labels: Previous_RFE
Please see
https://issues.apache.org/jira/browse/ARTEMIS-581
Artemis defines given max amount of memory for each queue (max-size-bytes). If this
amount if reached then one of the defined policies BLOCK, PAGE, FAIL or DROP is applied to
newly incoming messages.
Problem is that with 400 queues and max-size-bytes=10MB, this would require 4 GB of heap
memory to avoid OutOfMemoryError and crash of EAP 7 server. Thus new attribute
global-max-size should be added to limit how much memory Artemis queues can consume before
applying policies BLOCK, PAGE, FAIL or DROP.
There is also no check how much disk space Artemis journal is consuming. Which should be
limited.