# Memory settings when doc values used?

**URL:** <https://discuss.elastic.co/t/memory-settings-when-doc-values-used/16684>\
**Category:** Elasticsearch\
**Created:** [March 28, 2014, 4:41pm UTC](https://discuss.elastic.co/t/memory-settings-when-doc-values-used/16684 "2014-03-28T16:41:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Pedela](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_pedela/32/27156_2.png) [@Ryan\_Pedela](https://discuss.elastic.co/u/Ryan_Pedela)\
**Post date:** [March 28, 2014, 4:41pm UTC](https://discuss.elastic.co/t/memory-settings-when-doc-values-used/16684/1 "2014-03-28T16:41:03Z")

</div>

Have the recommended memory configuration settings changed when using doc  
values?

--  
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/02d51e47-457e-4680-87ed-557a374fa86a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02d51e47-457e-4680-87ed-557a374fa86a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [March 31, 2014, 9:18am UTC](https://discuss.elastic.co/t/memory-settings-when-doc-values-used/16684/2 "2014-03-31T09:18:04Z")

</div>

Hi,

There are no particular settings to set when using doc values, just make  
sure to not give too much memory to your JVM so that the operator system's  
filesystem cache has enough memory to do its job. If your previous setup  
didn't leverage doc values, it is likely that switching to doc values will  
significantly reduce memory requirements, so you could consider decreasing  
your ES\_HEAP\_SIZE. In addition to giving more memory to the filesystem  
cache, this will also reduce garbage collection times.

On Fri, Mar 28, 2014 at 5:41 PM, Ryan Pedela [rpedela@datalanche.com](mailto:rpedela@datalanche.com) wrote:

> Have the recommended memory configuration settings changed when using doc  
> values?
> 
> --  
> 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/02d51e47-457e-4680-87ed-557a374fa86a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/02d51e47-457e-4680-87ed-557a374fa86a%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/02d51e47-457e-4680-87ed-557a374fa86a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/02d51e47-457e-4680-87ed-557a374fa86a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
Adrien Grand

--  
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/CAL6Z4j7%3DcP\_Ny65b2-spF-On4fG490Obe7eBqxd6aCYNQjoynA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j7%3DcP_Ny65b2-spF-On4fG490Obe7eBqxd6aCYNQjoynA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:39am UTC](https://discuss.elastic.co/t/memory-settings-when-doc-values-used/16684/3 "2017-07-06T01:39:27Z")

</div>


