Using the following configuration, each queue should be limited to at most
30% of the total memory store:

<destinationPolicy>
    <policyMap>
        <policyEntries>
            <policyEntry queue=">" cursorMemoryHighWaterMark="30"/>

        </policyEntries>
    </policyMap>
</destinationPolicy>

Is that the configuration you used?


On Jan 15, 2018 12:14 PM, "alainkr" <akreienb...@gmail.com> wrote:

> Hello
>
> I'm very puzzled by the cursorMemoryHighWaterMark after reading
> http://blog.christianposta.com/activemq/activemq-
> understanding-memory-usage/
> I tested lowering the highwater mark to prevent (or defer ) 100% memory
> usage.
>
>
> Using 5.10.0, with the setting
>
>
>
> I was excepting the limit to be per queue, but it's not ! It's global.
> If one queue uses 25%, the other one will use up on 5%  max then swap go to
> storage
>
> I this because of the wildcard ?
>
> How can I express each queue to have a 30% watermark ?
>
>
> Thanks
>
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>

Reply via email to