# I working kibana dev platform

**URL:** <https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038>\
**Category:** Kibana\
**Created:** [September 25, 2019, 1:05pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038 "2019-09-25T13:05:19Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 1:05pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/1 "2019-09-25T13:05:20Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/f/6/f61ffb979d29f5d20912dff8820e42b0248a44b5.png)

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 1:06pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/2 "2019-09-25T13:06:22Z")

</div>

> <https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md>

I think heap size problem.

How can I solve ?

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 1:07pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/3 "2019-09-25T13:07:37Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8a318f5437782bded1034c2e5347311fb55fe8c0.png)

which shell config ?

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 25, 2019, 1:09pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/4 "2019-09-25T13:09:33Z")

</div>

Hi @mr_searchng,

can you post the log output of your server here? It should contain hints on what exactly is going wrong

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 1:13pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/5 "2019-09-25T13:13:34Z")

</div>

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

task manager screenshot

this problem heap size ,how can I solve ?

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 25, 2019, 1:16pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/6 "2019-09-25T13:16:41Z")

</div>

The problem is most likely not the heap size, otherwise the server would crash completely. You have to set the environment variable "NODE\_OPTIONS" in the environment from where you are starting your dev server (running `yarn start`)

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 1:18pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/7 "2019-09-25T13:18:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 1:19pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/8 "2019-09-25T13:19:25Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/2/1/211f47b783dfc4d2e22f07cc8129ead17d9eb4cd.png)

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [September 25, 2019, 3:38pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/9 "2019-09-25T15:38:53Z")

</div>

You may be experiencing a heap OOM error, but it's not immediately clear. You should be able to customize the NODE\_OPTIONS like this:

```auto
NODE_OPTIONS="--max_old_space_size=2048" node script/kibana.js --dev

```

From your logs, it also appears that Elasticsearch may not be running yet (or the logs you provided are not complete, I'm not sure). Did you start elasticsearch in another shell with `yarn es snapshot`?

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 25, 2019, 5:52pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/10 "2019-09-25T17:52:21Z")

</div>

NODE\_OPTIONS="--max\_old\_space\_size=2048"

we do this in which folder ?

---

<div class="post-metadata">

**Author:** ![mr\_searchng](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mr\_searchng](https://discuss.elastic.co/u/mr_searchng)\
**Post date:** [September 26, 2019, 8:08am UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/11 "2019-09-26T08:08:35Z")

</div>

I wait answer,

Thanks

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [September 26, 2019, 1:56pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/12 "2019-09-26T13:56:53Z")

</div>

You should be able to run that all on the same command from the kibana repository that you cloned. @tylersmalley Is there anything different needed for setting this option on Windows?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [September 26, 2019, 5:44pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/13 "2019-09-26T17:44:54Z")

</div>

It's not apparent to me that you are experiencing an out of memory error, do you have any logs which show this to be the issue?

In the original screenshot, it said there was a 500 error being returned. If you we're getting an OOM, the server would be crashed as Josh mentioned and would not return a 500. What branch are you running from, and do you have any plugins installed. To really help here, we need to see the server logs at the time you are seeing these 500 errors.

---

<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:** [October 24, 2019, 5:44pm UTC](https://discuss.elastic.co/t/i-working-kibana-dev-platform/201038/14 "2019-10-24T17:44:55Z")

</div>

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