<p>I noticed that there is my very simple micro service deployed in kubernetes that consumes a large amount of memory  in starting process .about 4G memory just starting .yet I wasn't able to know the reason.
Regardless of the micro service 's function but it's weird that it consumes a huge amount of memory just for starting.
How does that happens and how to solve this problem ?.
Thank you</p>

Neos
<p>This looks like a Resource requests and Resource Limits issue on k8s side, <a href="https://learnk8s.io/setting-cpu-memory-limits-requests" rel="nofollow noreferrer">this link explains multiple ways to manage CPU &amp; memory usage in a container</a> . One k8s native way to do all of that would be the VPA Vertical Pod Autoscaler you can set a min and max for CPU &amp; Memory usage, this way your pod won't consume more than what you assign to it.</p>
