# Java Runtime Environment stopped when running logstash

**URL:** <https://discuss.elastic.co/t/java-runtime-environment-stopped-when-running-logstash/181814>\
**Category:** Logstash\
**Created:** [May 20, 2019, 12:42pm UTC](https://discuss.elastic.co/t/java-runtime-environment-stopped-when-running-logstash/181814 "2019-05-20T12:42:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prashanth\_SP](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashanth_sp/32/42422_2.png) [@Prashanth\_SP](https://discuss.elastic.co/u/Prashanth_SP)\
**Post date:** [May 20, 2019, 12:42pm UTC](https://discuss.elastic.co/t/java-runtime-environment-stopped-when-running-logstash/181814/1 "2019-05-20T12:42:40Z")

</div>

Hi,  
We are running logstash with 4 RabbitMQ input plugins, 1 file plugin and 1 elastcisearch output plugin in a single pipeline. During the network issue, all the buffered data during that period pushed into rabbitmq queues. Each message in queues is at least 50 kb of data. In that time, logstash and Java Runtime Environment stopped.

logstash.yml configuration is,

```
config.reload.automatic: true
config.reload.interval: 10s
queue.type: persisted
queue.max_events: 0
queue.max_bytes: 4gb
dead_letter_queue.enable: true
dead_letter_queue.max_bytes: 2gb

```

In jvm.options configuration heap size is,

```
-Xms10g
-Xmx15g

```

In logstash log this error shown,

> #  
> # A fatal error has been detected by the Java Runtime Environment:  
> #  
> # EXCEPTION\_ACCESS\_VIOLATION (0xc0000005) at pc=0x00007ffa2a0b5047, pid=69420, tid=0x0000000000018390  
> #  
> # JRE version: Java(TM) SE Runtime Environment (8.0\_181-b13) (build 1.8.0\_181-b13)  
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode windows-amd6  
> 4 compressed oops)  
> # Problematic frame:  
> # C [KERNELBASE.dll+0x15047]  
> #  
> # Core dump written. Default location: C:\Software\logstash-6.2.3\bin\hs\_err\_pid694  
> 20.mdmp  
> #  
> # An error report file with more information is saved as:  
> # C:\Software\logstash-6.2.3\bin\hs\_err\_pid69420.log  
> #  
> # If you would like to submit a bug report, please visit:  
> # [Crash Report](http://bugreport.java.com/bugreport/crash.jsp)  
> # The crash happened outside the Java Virtual Machine in native code.  
> # See problematic frame for where to report the bug.  
> #

**Environment:**  
Windows Server 2012 R2  
java version "1.8.0\_181"  
Java(TM) SE Runtime Environment (build 1.8.0\_181-b13)  
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)  
Logstash 6.2.3  
Elasticsearch 6.2.3  
RabbitMQ 3.7

---

<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:** [June 17, 2019, 12:55pm UTC](https://discuss.elastic.co/t/java-runtime-environment-stopped-when-running-logstash/181814/2 "2019-06-17T12:55:00Z")

</div>

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