# Execution of OOMkill

**URL:** <https://discuss.kubernetes.io/t/execution-of-oomkill/12243>\
**Category:** General Discussions\
**Created:** [August 10, 2020, 4:48am UTC](https://discuss.kubernetes.io/t/execution-of-oomkill/12243 "2020-08-10T04:48:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honser](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/honser/32/9693_2.png) [@honser](https://discuss.kubernetes.io/u/honser)\
**Post date:** [August 10, 2020, 4:48am UTC](https://discuss.kubernetes.io/t/execution-of-oomkill/12243/1 "2020-08-10T04:48:22Z")

</div>

Hi experts, I have some questions about OOMkill action:

- Does kubelet kill it right after it notices there is a pod on the list to be killed? or leave it for a while if the node has enough memory?
- OOMkill can be done by OS itself before kubelet knows it? if then no log left?
- I think it’s not a thing can be done by K8s but, any way we can limit container’s memory use not by kill?

Any comments would be very grateful.  
BR// Honser
