# How to increase index memory of ES

**URL:** <https://discuss.elastic.co/t/how-to-increase-index-memory-of-es/92419>\
**Category:** Elasticsearch\
**Created:** [July 10, 2017, 7:25am UTC](https://discuss.elastic.co/t/how-to-increase-index-memory-of-es/92419 "2017-07-10T07:25:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![huzhengkai](https://avatars.discourse-cdn.com/v4/letter/h/e8c25b/32.png) [@huzhengkai](https://discuss.elastic.co/u/huzhengkai)\
**Post date:** [July 10, 2017, 7:25am UTC](https://discuss.elastic.co/t/how-to-increase-index-memory-of-es/92419/1 "2017-07-10T07:25:39Z")

</div>

I have 5 ES node，one master,one client,3 data node.  
Each machine has 10G memory.  
I have 3G data.  
I join two index data via Hive and SparkSQL.  
Isaw ES use 5G memory when i install the X-Pack. I execute the following:

```
select count(*)

```

This SQL will cost 45s and this index has 2 million data/200M.  
This index has the following:

 ![](https://us1.discourse-cdn.com/elastic/original/3X/e/0/e0e1dfac4bc1e9b3a1839f1627851fc8e1f93614.png)

The index memory only 3.8MB,I want to increase the index memory.

---

<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:** [August 7, 2017, 7:25am UTC](https://discuss.elastic.co/t/how-to-increase-index-memory-of-es/92419/2 "2017-08-07T07:25:53Z")

</div>

Closed on August 7, 2017, 7:25am UTC

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