# Memory req for ES in very small-scale operation?

**URL:** <https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759>\
**Category:** Elasticsearch\
**Created:** [June 16, 2017, 6:25pm UTC](https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759 "2017-06-16T18:25:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [June 16, 2017, 6:25pm UTC](https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759/1 "2017-06-16T18:25:28Z")

</div>

Hi, I am trying to use Elasticsearch for something very basic and small-scale and am wondering if ES can be configured to run with 1GB of RAM at all. I need to run ES, Logstash and Kibana (ELK).

This is for a Ubuntu server. There is minimal data going from Logstash to ES. When I tried to start the Elasticsearch service, it gives me an insufficient memory error.

If 1GB is not doable, will 2GB do it? And if so what are the settings.

This is a screenshot of the errors btw.

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

What I am doing: using logstash to log Discord events to ES and try to visualize them with Kibana. On my local dev machine (Mac) the default install gave them 2GB only.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 16, 2017, 8:08pm UTC](https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759/2 "2017-06-16T20:08:28Z")

</div>

Have a look at the config/jvm.options file and change memory settings in it.

---

<div class="post-metadata">

**Author:** ![smlbiobot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smlbiobot/32/29622_2.png) [@smlbiobot](https://discuss.elastic.co/u/smlbiobot)\
**Post date:** [June 17, 2017, 2:06am UTC](https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759/3 "2017-06-17T02:06:56Z")

</div>

thanks — what should I change to? is there any recommended settings?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 17, 2017, 7:22am UTC](https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759/4 "2017-06-17T07:22:48Z")

</div>

Instead of 2g try 1g

I'm not saying this is recommended.

---

<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 15, 2017, 7:23am UTC](https://discuss.elastic.co/t/memory-req-for-es-in-very-small-scale-operation/89759/5 "2017-07-15T07:23:01Z")

</div>

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