# Slow performance on Query/Gui for elasticsearch after update to Java 64bit/increased heap size

**URL:** <https://discuss.elastic.co/t/slow-performance-on-query-gui-for-elasticsearch-after-update-to-java-64bit-increased-heap-size/21746>\
**Category:** Elasticsearch\
**Created:** [January 21, 2015, 9:56am UTC](https://discuss.elastic.co/t/slow-performance-on-query-gui-for-elasticsearch-after-update-to-java-64bit-increased-heap-size/21746 "2015-01-21T09:56:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_bell/32/971_2.png) [@Mark\_Bell](https://discuss.elastic.co/u/Mark_Bell)\
**Post date:** [January 21, 2015, 9:56am UTC](https://discuss.elastic.co/t/slow-performance-on-query-gui-for-elasticsearch-after-update-to-java-64bit-increased-heap-size/21746/1 "2015-01-21T09:56:34Z")

</div>

Hi,

Wondering if anyone can offer any advise on this as I have looked around  
and cant really seem to find an answer on this.

Since updating to Java 7 64 bit from Java7 32 bit and increasing the  
MAX\_HEAP\_SIZE I am seeing slower query performance when trying to query  
data via the Plugin GUI's such as Elasticsearch HQ.

On the stats page for the GUI, the only part which was RED is the index  
refresh. This is now currently Yellow after lowering the MAX\_HEAP\_SIZE to  
4gb from originally 50% of the total which was 32. (Set to 16GB originally  
when updating to Java 7 64)

Any ideas on why after updating to Java7 64 and upping the HEAP that this  
would affect performance so dramatically as it was faster when using java  
32 with a lower heap.

Currently using elasticsearch version elasticsearch-1.3.2-1

--  
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/b6933e0f-2fab-4ce5-a491-b82435336be6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b6933e0f-2fab-4ce5-a491-b82435336be6%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mark\_Bell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_bell/32/971_2.png) [@Mark\_Bell](https://discuss.elastic.co/u/Mark_Bell)\
**Post date:** [January 22, 2015, 11:54am UTC](https://discuss.elastic.co/t/slow-performance-on-query-gui-for-elasticsearch-after-update-to-java-64bit-increased-heap-size/21746/2 "2015-01-22T11:54:22Z")

</div>

Hi,

Just incase anyone has a similar issue.

It looks like the cause of the slowness and being unable to query the index  
was due to the template that had been added.

Once taking all the data out and adding some data manually myself via a NC  
command, I could attempt to query the data. However it still did not bring  
any data back, however the logs and json output showed the below error.  
Once removing the template that included the Geo IP field this resolved the  
issue.

Error:  
Caused by: org.elasticsearch.ElasticsearchIllegalArgumentException: field  
[geoip] isn't a leaf field

On Wednesday, January 21, 2015 at 9:56:34 AM UTC, Mark Bell wrote:

> Hi,
> 
> Wondering if anyone can offer any advise on this as I have looked around  
> and cant really seem to find an answer on this.
> 
> Since updating to Java 7 64 bit from Java7 32 bit and increasing the  
> MAX\_HEAP\_SIZE I am seeing slower query performance when trying to query  
> data via the Plugin GUI's such as Elasticsearch HQ.
> 
> On the stats page for the GUI, the only part which was RED is the index  
> refresh. This is now currently Yellow after lowering the MAX\_HEAP\_SIZE to  
> 4gb from originally 50% of the total which was 32. (Set to 16GB originally  
> when updating to Java 7 64)
> 
> Any ideas on why after updating to Java7 64 and upping the HEAP that this  
> would affect performance so dramatically as it was faster when using java  
> 32 with a lower heap.
> 
> Currently using elasticsearch version elasticsearch-1.3.2-1

--  
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/4973b8a8-6473-4ab5-9b5c-93d10ffeb863%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4973b8a8-6473-4ab5-9b5c-93d10ffeb863%40googlegroups.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:37am UTC](https://discuss.elastic.co/t/slow-performance-on-query-gui-for-elasticsearch-after-update-to-java-64bit-increased-heap-size/21746/3 "2017-07-06T00:37:15Z")

</div>

Closed on July 6, 2017, 12:37am UTC


