# Performance Issue(Java heap memory error) while Indexing 20k records with 10 fields on windows 64 bit machine

**URL:** <https://discuss.elastic.co/t/performance-issue-java-heap-memory-error-while-indexing-20k-records-with-10-fields-on-windows-64-bit-machine/17501>\
**Category:** Elasticsearch\
**Created:** [May 14, 2014, 5:28am UTC](https://discuss.elastic.co/t/performance-issue-java-heap-memory-error-while-indexing-20k-records-with-10-fields-on-windows-64-bit-machine/17501 "2014-05-14T05:28:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dharmendra\_pratap\_si](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dharmendra\_pratap\_si](https://discuss.elastic.co/u/dharmendra_pratap_si)\
**Post date:** [May 14, 2014, 5:28am UTC](https://discuss.elastic.co/t/performance-issue-java-heap-memory-error-while-indexing-20k-records-with-10-fields-on-windows-64-bit-machine/17501/1 "2014-05-14T05:28:24Z")

</div>

Hi Guys,  
Hope you all are doing good.

In my ES, I am facing java heap memory error, while indexing just 20k  
records.

Even I have increasesd the heap memory size in ES bat file. can anyone of  
you suggest me what all changesges I need to do for this. Or ES has certain  
restricition on windows machine for indexing the data.

I faced this issue even for 6k records also.

Any help/pointers will help me.

Thanks a lot.

Regards  
Dharmendra

--  
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/e69d7e78-b518-4b00-b585-abb3d1ce0b75%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e69d7e78-b518-4b00-b585-abb3d1ce0b75%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 14, 2014, 11:25pm UTC](https://discuss.elastic.co/t/performance-issue-java-heap-memory-error-while-indexing-20k-records-with-10-fields-on-windows-64-bit-machine/17501/2 "2014-05-14T23:25:11Z")

</div>

How big is each document? What is the total size of the 20k records? You  
might have to update with smaller batches.

--  
Ivan

On Tue, May 13, 2014 at 10:28 PM, dharmendra pratap singh \<  
[dharmendra0393@gmail.com](mailto:dharmendra0393@gmail.com)\> wrote:

> Hi Guys,  
> Hope you all are doing good.
> 
> In my ES, I am facing java heap memory error, while indexing just 20k  
> records.
> 
> Even I have increasesd the heap memory size in ES bat file. can anyone of  
> you suggest me what all changesges I need to do for this. Or ES has certain  
> restricition on windows machine for indexing the data.
> 
> I faced this issue even for 6k records also.
> 
> Any help/pointers will help me.
> 
> Thanks a lot.
> 
> Regards  
> Dharmendra
> 
> --  
> 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/e69d7e78-b518-4b00-b585-abb3d1ce0b75%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e69d7e78-b518-4b00-b585-abb3d1ce0b75%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/e69d7e78-b518-4b00-b585-abb3d1ce0b75%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e69d7e78-b518-4b00-b585-abb3d1ce0b75%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> 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/CALY%3DcQDbLHDQ-CZ9jOWDbZEdZjz7MDGG\_ZwLvM0z9O1iRBo\_YQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDbLHDQ-CZ9jOWDbZEdZjz7MDGG_ZwLvM0z9O1iRBo_YQ%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, 1:29am UTC](https://discuss.elastic.co/t/performance-issue-java-heap-memory-error-while-indexing-20k-records-with-10-fields-on-windows-64-bit-machine/17501/3 "2017-07-06T01:29:19Z")

</div>

Closed on July 6, 2017, 1:29am UTC


