# ES using too much Memory when its starting any idea?

**URL:** <https://discuss.elastic.co/t/es-using-too-much-memory-when-its-starting-any-idea/14819>\
**Category:** Elasticsearch\
**Created:** [December 11, 2013, 4:07pm UTC](https://discuss.elastic.co/t/es-using-too-much-memory-when-its-starting-any-idea/14819 "2013-12-11T16:07:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prometheus](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@prometheus](https://discuss.elastic.co/u/prometheus)\
**Post date:** [December 11, 2013, 4:07pm UTC](https://discuss.elastic.co/t/es-using-too-much-memory-when-its-starting-any-idea/14819/1 "2013-12-11T16:07:40Z")

</div>

Hi ,

We have 2 indices each one 5 shards and parent child indexed . each index  
around 150gig size.

our hw is : 128 gig ram 28 core .

1- starting the ES takes too long , around 20 min+ and when its started  
and we can see the green in the head plugin, ES using around 60gig heap !  
(big desk). it is just starting to ES . There is no query and index .

I gave 64 gig heap to open the indexes.. below this size I couldnt open.

Is there any idea why ES using such big amount of memory ?

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d8e0531a-cb46-4657-b318-4bda8848985a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d8e0531a-cb46-4657-b318-4bda8848985a%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [December 11, 2013, 7:42pm UTC](https://discuss.elastic.co/t/es-using-too-much-memory-when-its-starting-any-idea/14819/2 "2013-12-11T19:42:39Z")

</div>

What ES version is this? Can you check the file sizes in the data folder?  
150g = ~30g per shard is quite a lot.

Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEoj%3D5Gj156foVWbWxyWOUVS72xJyuPB0O0kxwj7y5uBA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEoj%3D5Gj156foVWbWxyWOUVS72xJyuPB0O0kxwj7y5uBA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![prometheus](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@prometheus](https://discuss.elastic.co/u/prometheus)\
**Post date:** [December 12, 2013, 10:16am UTC](https://discuss.elastic.co/t/es-using-too-much-memory-when-its-starting-any-idea/14819/3 "2013-12-12T10:16:03Z")

</div>

ES 0.90.7 . 150 GB is the folder size . We are also storing the document  
. I think the segment merging process using a lot memory. We have 12  
index each one is around 150 GB. We will use 3 or 4 machine cluster for  
pre-production test.

Thx

On Wednesday, December 11, 2013 9:42:39 PM UTC+2, Jörg Prante wrote:

> What ES version is this? Can you check the file sizes in the data folder?  
> 150g = ~30g per shard is quite a lot.
> 
> Jörg

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/052bcd51-adc2-4f89-a6a4-981dbe5839ec%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/052bcd51-adc2-4f89-a6a4-981dbe5839ec%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:01am UTC](https://discuss.elastic.co/t/es-using-too-much-memory-when-its-starting-any-idea/14819/4 "2017-07-06T02:01:41Z")

</div>


