# Customize Kibana 6.5 Login Page

**URL:** <https://discuss.elastic.co/t/customize-kibana-6-5-login-page/157153>\
**Category:** Kibana\
**Created:** [November 17, 2018, 5:40am UTC](https://discuss.elastic.co/t/customize-kibana-6-5-login-page/157153 "2018-11-17T05:40:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![nandrik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nandrik/32/39951_2.png) [@nandrik](https://discuss.elastic.co/u/nandrik)\
**Post date:** [November 21, 2018, 7:25am UTC](https://discuss.elastic.co/t/customize-kibana-6-5-login-page/157153/4 "2018-11-21T07:25:17Z")

</div>

Thank you, this is very helpful.

Only add-on comment on your last sentence ... I deleted the "optimize" folder but then Kibana would not start giving me the following (main) error:

```
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

```

I managed to deal with it by following this [post](https://github.com/elastic/kibana/issues/18944) and by increasing the heap memory:

`NODE_OPTIONS="--max-old-space-size=4096" /usr/share/kibana/bin/kibana`

This way it managed to get through the optimizations and rebuild the 'optimize' directory.

---

_[View the full topic](https://discuss.elastic.co/t/customize-kibana-6-5-login-page/157153)._
