# Memory requirements

**URL:** <https://discuss.elastic.co/t/memory-requirements/3951>\
**Category:** Elasticsearch\
**Created:** [February 19, 2011, 3:54pm UTC](https://discuss.elastic.co/t/memory-requirements/3951 "2011-02-19T15:54:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Albin\_Stigo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/albin_stigo/32/3227_2.png) [@Albin\_Stigo](https://discuss.elastic.co/u/Albin_Stigo)\
**Post date:** [February 19, 2011, 3:54pm UTC](https://discuss.elastic.co/t/memory-requirements/3951/1 "2011-02-19T15:54:12Z")

</div>

Hello,

I'm building a site (a "dictionary") using couchdb, es and the couchdb  
river plugin. The database contains around 40000 words and short  
definitions.

I would now like to host this on a VPS and my question is: What are  
the memory (ram) requirements (how can I estimate?), is there a way to  
experiment with this on my dev box (it has 4gb and am just using the  
standard out-of-the-box settings)? Does "top" provide a good estimate?

--Albin

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 20, 2011, 1:15am UTC](https://discuss.elastic.co/t/memory-requirements/3951/2 "2011-02-20T01:15:36Z")

</div>

By default, ES\_MAX\_MEM is set to 1gb. For such a small index, you can certainly go with less. The way to test it is to simply index the data, run some searches, and check that things are ok memory wise.  
On Saturday, February 19, 2011 at 5:54 PM, Albin Stigo wrote:

> Hello,
> 
> I'm building a site (a "dictionary") using couchdb, es and the couchdb  
> river plugin. The database contains around 40000 words and short  
> definitions.
> 
> I would now like to host this on a VPS and my question is: What are  
> the memory (ram) requirements (how can I estimate?), is there a way to  
> experiment with this on my dev box (it has 4gb and am just using the  
> standard out-of-the-box settings)? Does "top" provide a good estimate?
> 
> --Albin

---

<div class="post-metadata">

**Author:** ![Jagmee](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jagmee](https://discuss.elastic.co/u/Jagmee)\
**Post date:** [February 25, 2011, 9:30pm UTC](https://discuss.elastic.co/t/memory-requirements/3951/3 "2011-02-25T21:30:39Z")

</div>

Hi,

If i try to index of 1 lac docs (including searches) then how much  
would be of my RAM size?

-jagmee

On Feb 20, 6:15 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> By default, ES\_MAX\_MEM is set to 1gb. For such a small index, you can certainly go with less. The way to test it is to simply index the data, run some searches, and check that things are ok memory wise.
> 
> On Saturday, February 19, 2011 at 5:54 PM, Albin Stigo wrote:
> 
> > Hello,
> 
> > I'm building a site (a "dictionary") using couchdb, es and the couchdb  
> > river plugin. The database contains around 40000 words and short  
> > definitions.
> 
> > I would now like to host this on a VPS and my question is: What are  
> > the memory (ram) requirements (how can I estimate?), is there a way to  
> > experiment with this on my dev box (it has 4gb and am just using the  
> > standard out-of-the-box settings)? Does "top" provide a good estimate?
> 
> > --Albin

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 26, 2011, 10:26pm UTC](https://discuss.elastic.co/t/memory-requirements/3951/4 "2011-02-26T22:26:20Z")

</div>

Can't answer that, as it varies greatly depending on many factors, including type of searches, sorting, facets, number of terms the index ends up with.

You need to test it, and see. The node stats api can give a lot of info when it comes ot memory allocations.  
On Friday, February 25, 2011 at 11:30 PM, Jagmee wrote:

> Hi,
> 
> If i try to index of 1 lac docs (including searches) then how much  
> would be of my RAM size?
> 
> -jagmee
> 
> On Feb 20, 6:15 am, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:
> 
> > By default, ES\_MAX\_MEM is set to 1gb. For such a small index, you can certainly go with less. The way to test it is to simply index the data, run some searches, and check that things are ok memory wise.
> > 
> > On Saturday, February 19, 2011 at 5:54 PM, Albin Stigo wrote:
> > 
> > > Hello,
> > 
> > > I'm building a site (a "dictionary") using couchdb, es and the couchdb  
> > > river plugin. The database contains around 40000 words and short  
> > > definitions.
> > 
> > > I would now like to host this on a VPS and my question is: What are  
> > > the memory (ram) requirements (how can I estimate?), is there a way to  
> > > experiment with this on my dev box (it has 4gb and am just using the  
> > > standard out-of-the-box settings)? Does "top" provide a good estimate?
> > 
> > > --Albin

---

<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, 4:11am UTC](https://discuss.elastic.co/t/memory-requirements/3951/5 "2017-07-06T04:11:20Z")

</div>


