# Issue with Elasticsearch occupying too much memory and Kibana getting hanged while querying

**URL:** https://discuss.elastic.co/t/issue-with-elasticsearch-occupying-too-much-memory-and-kibana-getting-hanged-while-querying/189740
**Category:** Kibana
**Created:** [July 10, 2019, 11:30am UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-occupying-too-much-memory-and-kibana-getting-hanged-while-querying/189740 "2019-07-10T11:30:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Neel.Gagan](https://avatars.discourse-cdn.com/v4/letter/n/7bcc69/32.png) [@Neel.Gagan](https://discuss.elastic.co/u/Neel.Gagan)
#### Post date: [July 10, 2019, 11:30am UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-occupying-too-much-memory-and-kibana-getting-hanged-while-querying/189740/1 "2019-07-10T11:30:30Z")

</div>

ES 6.8.0  
Kibana 6.8.0

i have allocated 10 GB in heap size.  
xms10g  
xmx10g

when i check performance in task manager the disk utilisation shows around 93%, i there any issue with swap space to increase the memory to prevent it from hanging.

i have changed NODE\_OPTIONS="--max-old-space-size=8192" in kibana.bat file. doing this i am getting the below error on opening kibana in browser.  
`allocation size overflow ([http://1xx.xxx.xx.xx:5601/built\_assets/dlls/vendors.bundle.dll.js:450](http://1xx.xxx.xx.xx:5601/built_assets/dlls/vendors.bundle.dll.js:450))

Version: 6.8.0  
Build: 20352  
Error: allocation size overflow ([http://1xx.xxx.xx.xx:5601/built\_assets/dlls/vendors.bundle.dll.js:450](http://1xx.xxx.xx.xx:5601/built_assets/dlls/vendors.bundle.dll.js:450))  
window.onerror@[http://1xx.xxx.xx.xx:5601/bundles/commons.bundle.js:3:971195](http://1xx.xxx.xx.xx:5601/bundles/commons.bundle.js:3:971195)

---

<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: [July 10, 2019, 12:23pm UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-occupying-too-much-memory-and-kibana-getting-hanged-while-querying/189740/2 "2019-07-10T12:23:13Z")

</div>

I moved the question to #kibana as the issue is happening there.

Note for other readers, this question is coming from this thread:

> <https://github.com/dadoonet/fscrawler/issues/772>

---

<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: [August 7, 2019, 12:23pm UTC](https://discuss.elastic.co/t/issue-with-elasticsearch-occupying-too-much-memory-and-kibana-getting-hanged-while-querying/189740/3 "2019-08-07T12:23:18Z")

</div>

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