# ElasticSearch RAM requirement

**URL:** <https://discuss.elastic.co/t/elasticsearch-ram-requirement/28657>\
**Category:** Logstash\
**Created:** [September 4, 2015, 8:02am UTC](https://discuss.elastic.co/t/elasticsearch-ram-requirement/28657 "2015-09-04T08:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hayder\_Abbass](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hayder_abbass/32/4559_2.png) [@Hayder\_Abbass](https://discuss.elastic.co/u/Hayder_Abbass)\
**Post date:** [September 4, 2015, 8:02am UTC](https://discuss.elastic.co/t/elasticsearch-ram-requirement/28657/1 "2015-09-04T08:02:51Z")

</div>

Hello,

We are thinking of using ElasticSearch to store log data with the following simple schema:

```
{
    "data" : {
        "properties" : {
            "date": {
              "type" : "date",
              "format" : "yyyy-MM-dd HH:mm:ss"
            },
          "status": {"type" : "string"},
          "group": {"type" : "string"},
          "ip": {"type" : "string"},
          "username":{"type" : "string"},
          "category":{"type" : "string"},
          "url":{"type" : "string"}
        }
    }
} 

```

We are estimating that we will have around a maximum of 5000 INSERT/s. Any idea if a 8GB of RAM will be enough to handle this?  
From what I can see on the [official documentation](https://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html), the typical server uses between 16-64GB but no information about INSERT/s.

Thanks for your suggestions.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 4, 2015, 8:20am UTC](https://discuss.elastic.co/t/elasticsearch-ram-requirement/28657/2 "2015-09-04T08:20:19Z")

</div>

While insertions per second affect the RAM requirements, I don't think it's that important. The total amount of data and the query patterns are way more important. So, I'm sure a 5000 msg/s inbound rate will be fine for a while, but eventually you'll have so much data that an 8 GB heap won't be enough.

---

<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, 5:30am UTC](https://discuss.elastic.co/t/elasticsearch-ram-requirement/28657/3 "2017-07-06T05:30:06Z")

</div>


