Hi all,

I have couple of questions regarding memory configurations. I read the docs
and couple of blog posts, but still cannot figure it out completely.

In my case I have only persistent queues.

1. For memoryUsage, the docs say: "for non-persistent messages, specifies
the maximum amount of memory used to hold the messages." Does it applies in
anyway for persistent messages too or to whole broker memory used too? Or
is it only for non-persistent as the docs suggests?

2. For persistent messages, I have memoryLimit set per destination basis.
Do I need to consider what is the memoryUsage set in this case? I mean is
there any relation between memoryUsage and memoryLimit, like memoryUsage >=
memoryLimit x number_of_queues

3. If I have 3gb for the broker JVM, can I assume it is safe to use 70% of
that for the queues, for example by giving 200mb per destination in total
for 10 queues. And leave the remaining 30% (1gb) for the broker
threads/consumers and so on.

Thanks



-- 
Bilgin Ibryam

Apache Camel & Apache OFBiz committer
Blog: ofbizian.com
Twitter: @bibryam <https://twitter.com/bibryam>

Author of Instant Apache Camel Message Routing
http://www.amazon.com/dp/1783283475

Reply via email to