# How much RAM should I give to the process?

**URL:** <https://discuss.elastic.co/t/how-much-ram-should-i-give-to-the-process/5376>\
**Category:** Elasticsearch\
**Created:** [September 13, 2011, 9:48pm UTC](https://discuss.elastic.co/t/how-much-ram-should-i-give-to-the-process/5376 "2011-09-13T21:48:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfeingold](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@mfeingold](https://discuss.elastic.co/u/mfeingold)\
**Post date:** [September 13, 2011, 9:48pm UTC](https://discuss.elastic.co/t/how-much-ram-should-i-give-to-the-process/5376/1 "2011-09-13T21:48:09Z")

</div>

How much memory should I allocate for cache?

ES shows the size for my index to be 4gb. For the process I allocated  
2gb of RAM, but when I look at the task manager the ES process only  
took 700Mb of memory. - does it mean that 700Mb is the max size of the  
cache for my index and adding memory in excess of 700M would not do  
any good. Or may be the process would take more if it could I would  
configure it properly? Is there any way to tell which one it is?

---

<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:** [July 6, 2017, 3:54am UTC](https://discuss.elastic.co/t/how-much-ram-should-i-give-to-the-process/5376/2 "2017-07-06T03:54:28Z")

</div>

Closed on July 6, 2017, 3:54am UTC


