# JVM crashes on indexing documents

**URL:** <https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546>\
**Category:** Elasticsearch\
**Created:** [May 3, 2012, 6:39am UTC](https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546 "2012-05-03T06:39:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arien](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@arien](https://discuss.elastic.co/u/arien)\
**Post date:** [May 3, 2012, 6:39am UTC](https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546/1 "2012-05-03T06:39:29Z")

</div>

Hi all;  
I am trying to index some 100 documents consisting of all sort of  
application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder  
but facing the problems of jvm crashes.Elastic search instance in  
terminal gets killed itself before it gives following warning;

[2012-05-03 11:45:16,684][WARN][monitor.jvm]  
[Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/  
[13.1s], total [5.7s]/[6.6s], memory [116.6mb]-\>[95.8mb]/[1020.8mb]

Please help me in this and clarify what wrong i am doing.I am using  
elasticsearch 0.19.3 and faced same problems in previous versions  
also;  
Thanks and regard;  
arien

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 3, 2012, 6:42am UTC](https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546/2 "2012-05-03T06:42:13Z")

</div>

Did you try to give more memory to the jvm ?

David 😉  
Twitter : @dadoonet / @elasticsearchfr

Le 3 mai 2012 à 08:39, arien [ajaypadvi@gmail.com](mailto:ajaypadvi@gmail.com) a écrit :

> Hi all;  
> I am trying to index some 100 documents consisting of all sort of  
> application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder  
> but facing the problems of jvm crashes.Elastic search instance in  
> terminal gets killed itself before it gives following warning;
> 
> [2012-05-03 11:45:16,684][WARN][monitor.jvm]  
> [Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/  
> [13.1s], total [5.7s]/[6.6s], memory [116.6mb]-\>[95.8mb]/[1020.8mb]
> 
> Please help me in this and clarify what wrong i am doing.I am using  
> elasticsearch 0.19.3 and faced same problems in previous versions  
> also;  
> Thanks and regard;  
> arien

---

<div class="post-metadata">

**Author:** ![Andrej](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Andrej](https://discuss.elastic.co/u/Andrej)\
**Post date:** [May 3, 2012, 8:34am UTC](https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546/3 "2012-05-03T08:34:32Z")

</div>

I am having problems with JVM crashes too (as pointed out in  
[https://groups.google.com/group/elasticsearch/browse\_thread/thread/76ee17b528533126](https://groups.google.com/group/elasticsearch/browse_thread/thread/76ee17b528533126)),  
doing bulk insert in 0.19.3. But I never had this problems before.  
Do you have an error log from your JVM? What java version are you  
using?

On 3 Mai, 08:39, arien [ajaypa...@gmail.com](mailto:ajaypa...@gmail.com) wrote:

> Hi all;  
> I am trying to index some 100 documents consisting of all sort of  
> application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder  
> but facing the problems of jvm crashes.Elastic search instance in  
> terminal gets killed itself before it gives following warning;
> 
> [2012-05-03 11:45:16,684][WARN][monitor.jvm]  
> [Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/  
> [13.1s], total [5.7s]/[6.6s], memory [116.6mb]-\>[95.8mb]/[1020.8mb]
> 
> Please help me in this and clarify what wrong i am doing.I am using  
> elasticsearch 0.19.3 and faced same problems in previous versions  
> also;  
> Thanks and regard;  
> arien

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [May 4, 2012, 9:50am UTC](https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546/4 "2012-05-04T09:50:05Z")

</div>

You are probably running out of memory on the JVM, make sure to allocate  
more memory, or reduce the bulk size.

On Thu, May 3, 2012 at 9:39 AM, arien [ajaypadvi@gmail.com](mailto:ajaypadvi@gmail.com) wrote:

> Hi all;  
> I am trying to index some 100 documents consisting of all sort of  
> application extensions(ie. pdf,xls,doc,etc) using bulkrequestbuilder  
> but facing the problems of jvm crashes.Elastic search instance in  
> terminal gets killed itself before it gives following warning;
> 
> [2012-05-03 11:45:16,684][WARN][monitor.jvm]  
> [Onslaught] [gc][ParNew][541][17] duration [5.7s], collections [1]/  
> [13.1s], total [5.7s]/[6.6s], memory [116.6mb]-\>[95.8mb]/[1020.8mb]
> 
> Please help me in this and clarify what wrong i am doing.I am using  
> elasticsearch 0.19.3 and faced same problems in previous versions  
> also;  
> Thanks and regard;  
> arien

---

<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, 3:30am UTC](https://discuss.elastic.co/t/jvm-crashes-on-indexing-documents/7546/5 "2017-07-06T03:30:09Z")

</div>

Closed on July 6, 2017, 3:30am UTC


