<p>In java, you have min heap space ( -Xms) and max heap space ( -Xmx). Min heap space is allocated to the JVM from start, &quot;max heap space&quot; is the limit where the JVM will say &quot;out of heap space&quot; when reaching it.</p>
<p>Are there such different values (initial and limit) for a pod in  Openshift/Kubernetes, or initial memory allocation is always equal to limit for some reason ?</p>

Tristan
<p>in K8s the resources are defined as request and limit.
the request is for the initial allocation and when the pod is reaching the memory limit it will get OOMKILLED  and afterwards will restart so i think its the same behaviour as you described.</p>
