# Elastic Stack Hardware requirements

**URL:** <https://discuss.elastic.co/t/elastic-stack-hardware-requirements/246286>\
**Category:** Elasticsearch\
**Created:** [August 25, 2020, 12:59pm UTC](https://discuss.elastic.co/t/elastic-stack-hardware-requirements/246286 "2020-08-25T12:59:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Turotakun98](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@Turotakun98](https://discuss.elastic.co/u/Turotakun98)\
**Post date:** [August 25, 2020, 12:59pm UTC](https://discuss.elastic.co/t/elastic-stack-hardware-requirements/246286/1 "2020-08-25T12:59:04Z")

</div>

Hi,  
I have to setup the stack on a machine with limited hardware (4GB RAM, Ubuntu 20.04, 80GB SSD). I need to run Elasticsearch, Logstash and Kibana on this machine. I am facing various problem relative to the JVM, in both elasticsearch and logstash i have set the parameters Xms and Xmx to 1GB each. Elasticsearch and kibana work perfectly and the system available memory is more than 50% (more than 2 GB).  
When i try to run Logstash it return the JVM's "not enought available memory" exception. If I increase/lower the Xms and Xmx in logstash and/or elasticsearch, one of the two services crash returning the memory exception.

I have made some tests on my laptop with same hardware (4GB RAM) but different OS (Win10) and everything worked fine.  
Am I missing something?

---

<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:** [September 22, 2020, 12:59pm UTC](https://discuss.elastic.co/t/elastic-stack-hardware-requirements/246286/2 "2020-09-22T12:59:30Z")

</div>

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