# Elasticsearch continuously crashes

**URL:** <https://discuss.elastic.co/t/elasticsearch-continuously-crashes/21572>\
**Category:** Elasticsearch\
**Created:** [January 11, 2015, 11:27am UTC](https://discuss.elastic.co/t/elasticsearch-continuously-crashes/21572 "2015-01-11T11:27:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdo](https://avatars.discourse-cdn.com/v4/letter/a/0ea827/32.png) [@abdo](https://discuss.elastic.co/u/abdo)\
**Post date:** [January 11, 2015, 11:27am UTC](https://discuss.elastic.co/t/elasticsearch-continuously-crashes/21572/1 "2015-01-11T11:27:44Z")

</div>

Hi all

I am using elasticsearch 1.4.1 to index logs. I run it on a 12 GB RAM with 8 cores. I dedicate 6 GB to the heap. I am using oracle JVM 1.8.0\_25. ES starts crashing after it reaches 8 Million records. attaches is the error log \<nabble\_a href="hs\_err\_pid26939.log"\>hs\_err\_pid26939.log\</nabble\_a\>

---

<div class="post-metadata">

**Author:** ![rmuir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rmuir/32/44949_2.png) [@rmuir](https://discuss.elastic.co/u/rmuir)\
**Post date:** [January 11, 2015, 6:54pm UTC](https://discuss.elastic.co/t/elasticsearch-continuously-crashes/21572/2 "2015-01-11T18:54:55Z")

</div>

Hi, this looks like a compiler bug. if you can actually reproduce it,  
you can report it to [http://bugs.java.com/](http://bugs.java.com/)

Otherwise, as far as working around it, you can try an EA release of a  
newer jvm ([https://jdk8.java.net/download.html](https://jdk8.java.net/download.html)), or exclude the method  
in question from compilation with an -XX:CompileCommand. unfortunately  
the method in question is the "main indexing loop" of lucene, so there  
is likely some performance impact from doing this.

On Sun, Jan 11, 2015 at 6:27 AM, abdo [abdo.a2008@gmail.com](mailto:abdo.a2008@gmail.com) wrote:

> Hi all
> 
> I am using elasticsearch 1.4.1 to index logs. I run it on a 12 GB RAM with 8  
> cores. I dedicate 6 GB to the heap. I am using oracle JVM 1.8.0\_25. ES  
> starts crashing after it reaches 8 Million records. attaches is the error  
> log hs\_err\_pid26939.log  
> [http://elasticsearch-users.115913.n3.nabble.com/file/n4068818/hs\_err\_pid26939.log](http://elasticsearch-users.115913.n3.nabble.com/file/n4068818/hs_err_pid26939.log)
> 
> --  
> View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Elasticsearch-continuously-crashes-tp4068818.html](http://elasticsearch-users.115913.n3.nabble.com/Elasticsearch-continuously-crashes-tp4068818.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/1420975664186-4068818.post%40n3.nabble.com](https://groups.google.com/d/msgid/elasticsearch/1420975664186-4068818.post%40n3.nabble.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAOdYfZXsJDTrAn%2BxUMzTJ4e0LCHucw5V-3tT8bQJiXNOrnWQLA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOdYfZXsJDTrAn%2BxUMzTJ4e0LCHucw5V-3tT8bQJiXNOrnWQLA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:39am UTC](https://discuss.elastic.co/t/elasticsearch-continuously-crashes/21572/3 "2017-07-06T00:39:42Z")

</div>


