# X-pack install 5.5.1 memory full

**URL:** <https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915>\
**Category:** Elasticsearch\
**Created:** [August 14, 2017, 7:08am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915 "2017-08-14T07:08:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaoqijun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaoqijun/32/32028_2.png) [@yaoqijun](https://discuss.elastic.co/u/yaoqijun)\
**Post date:** [August 14, 2017, 7:08am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/1 "2017-08-14T07:08:08Z")

</div>

i install x-pack in elastic 5.5.1 and win10,

after is execute elasticsearch-plugin install x-pack, one process start

![image](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9d977b09db5ca29a007b9636e1af957d5b32f454.png)

then all memory be used, my computer is down, any help ???????

waiting online

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [August 14, 2017, 8:47am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/2 "2017-08-14T08:47:57Z")

</div>

I'm not sure why the `controller.exe` process would be using so much memory. It's a very simple process and shouldn't use anything like this amount. On a Windows Server 2012r2 machine I just ran it and it used 1436K, so yours is using about 3000 times more.

I suspect it's something related to your locale, so maybe if you could describe your setup that would help us reproduce the problem and fix it. So:

1. Which language is your computer set to?
2. Are you running Elasticsearch as a service or from a command prompt?
3. If from a command prompt, what is the character set codepage of that command prompt?

In the meantime, if you don't require the Machine Learning feature, a temporary fix would be to set `xpack.ml.enabled: false` in `elasticsearch.yml`, delete the file `%ES_HOME%\plugins\x-pack\platform\win-x86_64\bin\controller.exe` and restart Elasticsearch.

---

<div class="post-metadata">

**Author:** ![yaoqijun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaoqijun/32/32028_2.png) [@yaoqijun](https://discuss.elastic.co/u/yaoqijun)\
**Post date:** [August 14, 2017, 1:09pm UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/3 "2017-08-14T13:09:50Z")

</div>

thanks, i have solve the problem with installing es, kibana, x-pack in VMware,  
i develop in windows, so in windows en , i setting

```auto
xpack.ml.enabled: false
xpack.security.enabled: false
xpack.monitoring.enabled: true
xpack.graph.enabled: false
xpack.watcher.enabled: false

```

still memory gradually increase to my max memory 16G  
maybe my windows env something wrong,  
thank you anywhere

---

<div class="post-metadata">

**Author:** ![phy25](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@phy25](https://discuss.elastic.co/u/phy25)\
**Post date:** [August 24, 2017, 7:24am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/4 "2017-08-24T07:24:08Z")

</div>

I have the same issue.

- `xpack.ml.enabled: false` is set (actually if I don't do this under Windows elasticsearch won't start);
- I am under a Chinese environment;
- I started Elasticsearch from a command prompt with a codepage of 936 (GBK).

Maybe I should try deleting controller.exe?

Edit: Force kill controller.exe process seems OK.

---

<div class="post-metadata">

**Author:** ![sophie\_chang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sophie_chang/32/18008_2.png) [@sophie\_chang](https://discuss.elastic.co/u/sophie_chang)\
**Post date:** [August 24, 2017, 8:46am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/5 "2017-08-24T08:46:17Z")

</div>

Hi @phy25

We are looking into this issue, and in the meantime, please follow the steps repeated below, and delete the controller.

> [@droberts195](#):
>
> In the meantime, if you don’t require the Machine Learning feature, a temporary fix would be to set xpack.ml.enabled: false in elasticsearch.yml, delete the file %ES\_HOME%\plugins\x-pack\platform\win-x86\_64\bin\controller.exe and restart Elasticsearch.

Thanks for the additional info about your setup.

Sophie

---

<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:** [September 21, 2017, 8:46am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/6 "2017-09-21T08:46:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [September 22, 2017, 1:20pm UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/7 "2017-09-22T13:20:56Z")

</div>



---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [September 22, 2017, 1:21pm UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/8 "2017-09-22T13:21:39Z")

</div>

We have found the cause of this problem and fixed the code. The fix will be released in future patches of all versions of the stack from 5.5 upwards. At the moment I cannot confirm the exact patch versions the fix will be in, but will update this post when I know, and the fix will also be listed in the release notes.

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [October 4, 2017, 8:24am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/9 "2017-10-04T08:24:14Z")

</div>

This problem is resolved in version 5.6.2.

---

<div class="post-metadata">

**Author:** ![hokiegeek2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hokiegeek2/32/11076_2.png) [@hokiegeek2](https://discuss.elastic.co/u/hokiegeek2)\
**Post date:** [March 26, 2018, 6:24pm UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/10 "2018-03-26T18:24:14Z")

</div>

Hi Everyone,

I am using 5.6.4 and I am wondering if I am seeing this problem. If I enable xpack security the memory usage of my Elasticsearch Docker container goes up and up and eventually the Docker is killed by Mesos.

Note: this ONLY happens when xpack security is enabled.

--John

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [March 27, 2018, 8:23am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/11 "2018-03-27T08:23:06Z")

</div>

@hokiegeek2 this topic originally discussed a Windows-only problem. Since your problem is in Docker it must be different so please start a new topic.

---

<div class="post-metadata">

**Author:** ![hokiegeek2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hokiegeek2/32/11076_2.png) [@hokiegeek2](https://discuss.elastic.co/u/hokiegeek2)\
**Post date:** [March 27, 2018, 9:35am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/12 "2018-03-27T09:35:20Z")

</div>

Hi David,

It's possible that Docker has something to do with it, but I am a bit skeptical. I am running Elasticsearch on CentOS within a Docker and I can clearly see the memory usage go up and up until Mesos kills it when the Docker requests more RAM that allotted. I think that Docker on Mesos just provides the memory boundary to the problem. I will, however, test outside of docker just in case.

Also, I know that elastic offers Elasticsearch on Docker. If this is a Docker issue, would this not have been reported already? If so, can you reference a JIRA ticket that has the resolution?

Thanks

--John

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [March 27, 2018, 10:00am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/13 "2018-03-27T10:00:51Z")

</div>

This topic is discussing a specific problem in the machine learning code that was caused by inappropriate handling of a particular type of error on non-English Windows. Please open a new discussion topic to discuss different problems.

---

<div class="post-metadata">

**Author:** ![droberts195](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/droberts195/32/17692_2.png) [@droberts195](https://discuss.elastic.co/u/droberts195)\
**Post date:** [March 27, 2018, 10:01am UTC](https://discuss.elastic.co/t/x-pack-install-5-5-1-memory-full/96915/14 "2018-03-27T10:01:26Z")

</div>


