# Could not create the Java virtual mechine

**URL:** <https://discuss.elastic.co/t/could-not-create-the-java-virtual-mechine/121808>\
**Category:** Logstash\
**Created:** [February 28, 2018, 8:47am UTC](https://discuss.elastic.co/t/could-not-create-the-java-virtual-mechine/121808 "2018-02-28T08:47:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@Dan](https://discuss.elastic.co/u/Dan)\
**Post date:** [February 28, 2018, 8:47am UTC](https://discuss.elastic.co/t/could-not-create-the-java-virtual-mechine/121808/1 "2018-02-28T08:47:08Z")

</div>

After running Logstash some time I am getting a below error.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/4/f4bb1c8827f1e546e275e53b539cd545caf26e60.png)

Even I set JVM options in logstash and I increased java heap size

Please, someone, help me how to resolve this.

Thanks in Advance...

---

<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:** [March 28, 2018, 8:47am UTC](https://discuss.elastic.co/t/could-not-create-the-java-virtual-mechine/121808/2 "2018-03-28T08:47:23Z")

</div>

Closed on March 28, 2018, 8:47am UTC

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