<div dir="ltr">It&#39;s very tricky...<div><br></div><div>Memory is adjusted automatically to the container size [1] (of course you may override it by supplying Xmx or &quot;-n&quot; as parameters [2]). The safe limit is roughly Xmx=Xms=50% of container capacity (unless you do the off-heap, that you can squeeze Infinispan much, much more).</div><div><br></div><div>Then there are Limits, Requests and QoS in Kubernetes [3][4]. We are in bustable memory category so if there is additional memory in the node, we&#39;ll get it. But if not, we won&#39;t go below 512 MB (and 500 mCPU).</div><div><br></div><div>Thanks,</div><div>Sebastian</div><div><br></div><div>[1] <a href="https://github.com/jboss-dockerfiles/infinispan/tree/master/server#adjusting-memory">https://github.com/jboss-dockerfiles/infinispan/tree/master/server#adjusting-memory</a></div><div>[2] <a href="https://github.com/jboss-dockerfiles/infinispan/blob/master/server/docker-entrypoint.sh#L303-L308">https://github.com/jboss-dockerfiles/infinispan/blob/master/server/docker-entrypoint.sh#L303-L308</a></div><div>[3] <a href="https://www.youtube.com/watch?v=nWGkvrIPqJ4">https://www.youtube.com/watch?v=nWGkvrIPqJ4</a></div><div>[4] <a href="https://docs.openshift.com/enterprise/3.2/dev_guide/compute_resources.html">https://docs.openshift.com/enterprise/3.2/dev_guide/compute_resources.html</a><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 22, 2017 at 2:33 PM Galder Zamarreño &lt;<a href="mailto:galder@redhat.com">galder@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sebastian,<br>
<br>
How do you change memory settings for Infinispan started via service catalog?<br>
<br>
The memory settings seem defined in [1], but this is not one of the parameters supported.<br>
<br>
I guess we want this as parameter?<br>
<br>
Cheers,<br>
<br>
[1] <a href="https://github.com/infinispan/infinispan-openshift-templates/blob/master/templates/infinispan-ephemeral.json#L308" rel="noreferrer" target="_blank">https://github.com/infinispan/infinispan-openshift-templates/blob/master/templates/infinispan-ephemeral.json#L308</a><br>
--<br>
Galder Zamarreño<br>
Infinispan, Red Hat<br>
<br>
</blockquote></div></div></div>