# High Memory buffer/cache Kubernetes

**URL:** <https://discuss.elastic.co/t/high-memory-buffer-cache-kubernetes/197569>\
**Category:** Elasticsearch\
**Created:** [August 30, 2019, 6:50pm UTC](https://discuss.elastic.co/t/high-memory-buffer-cache-kubernetes/197569 "2019-08-30T18:50:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beyond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/beyond/32/53327_2.png) [@beyond](https://discuss.elastic.co/u/beyond)\
**Post date:** [August 30, 2019, 6:50pm UTC](https://discuss.elastic.co/t/high-memory-buffer-cache-kubernetes/197569/1 "2019-08-30T18:50:23Z")

</div>

**Describe the bug**  
i tried to start a cluster in kubernetes with below nodes while setting pods memory limits 3G  
2 clients nodes  
3 masters nodes  
3 Data nodes  
The problem that i found is that elastic pods dont see this limit and keep using the buffer/cache memory in the node which i see it increasing constatly can go beyond 7G, which lead to no memory in the nodes then when a pod is dead cant start again coz there is no memory , so i have to run echo 2 to drop cache to free the memory.

is their a way to control how much elastic cache/buffer use cache?  
**Version of Helm and Kubernetes** :  
k8S v1.13.5

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 27, 2019, 6:50pm UTC](https://discuss.elastic.co/t/high-memory-buffer-cache-kubernetes/197569/2 "2019-09-27T18:50:33Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
