# Memory Requirements for Elasticsearch

**URL:** https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441
**Category:** Elasticsearch
**Created:** [June 14, 2017, 6:52pm UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441 "2017-06-14T18:52:58Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)
#### Post date: [June 14, 2017, 6:52pm UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/1 "2017-06-14T18:52:58Z")

</div>

I would like to know what would be the memory requirements for my data set, I currently have 50GB of data on the whole. And planning to have 6-7 data nodes and 3 master only nodes and will connect using Transport client Java.

What should be my memory requirements, will 50 GB of index will be shared across shards or each data node will be having 50 GB of data? Planning to have default 5 Shards and 1or 2 replica's?

What is the RAM i need and disk-space should i need for each data node to start with?

Thanks for help.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 15, 2017, 1:09am UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/2 "2017-06-15T01:09:30Z")

</div>

> [@samdash](#):
>
> I currently have 50GB of data on the whole. And planning to have 6-7 data nodes and 3 master only nodes

That seems like a lot. How did you arrive to that?

---

<div class="post-metadata">

### Author: ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)
#### Post date: [June 15, 2017, 5:55pm UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/3 "2017-06-15T17:55:06Z")

</div>

Since i am planning to have 5 shards and 1 replica, i can go upto 10 nodes , so thought of having 3 master only and then 5 or 6 data nodes. is my assumption wrong, or for the given data size, shall i start with only 3 data nodes?  
what memory options would be optimal ?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 16, 2017, 12:30am UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/4 "2017-06-16T00:30:46Z")

</div>

You really need to test to have an accurate idea.

But start with 3 nodes would be my suggestion.

---

<div class="post-metadata">

### Author: ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)
#### Post date: [June 16, 2017, 12:56am UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/5 "2017-06-16T00:56:08Z")

</div>

you mean 3 master only and 3 data nodes?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 16, 2017, 12:57am UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/6 "2017-06-16T00:57:22Z")

</div>

If you want dedicated masters, yep.

---

<div class="post-metadata">

### Author: ![samdash](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samdash/32/21628_2.png) [@samdash](https://discuss.elastic.co/u/samdash)
#### Post date: [June 16, 2017, 2:14am UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/7 "2017-06-16T02:14:21Z")

</div>

Thanks, Yes i need dedicated master's and in future i might keep adding more data nodes.  
But my original question was regarding memory requirements , can you let me know for 50GB of data what should anyone requirements should be approximately.

---

<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 14, 2017, 2:14am UTC](https://discuss.elastic.co/t/memory-requirements-for-elasticsearch/89441/8 "2017-07-14T02:14:25Z")

</div>

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