# JavaScript heap out of memory in Kibana GA 5.0.0

**URL:** https://discuss.elastic.co/t/javascript-heap-out-of-memory-in-kibana-ga-5-0-0/100831
**Category:** Kibana
**Created:** [September 18, 2017, 7:34am UTC](https://discuss.elastic.co/t/javascript-heap-out-of-memory-in-kibana-ga-5-0-0/100831 "2017-09-18T07:34:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![elasticheart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticheart/32/65189_2.png) [@elasticheart](https://discuss.elastic.co/u/elasticheart)
#### Post date: [September 18, 2017, 7:34am UTC](https://discuss.elastic.co/t/javascript-heap-out-of-memory-in-kibana-ga-5-0-0/100831/1 "2017-09-18T07:34:54Z")

</div>

Hi,

Last day, my Kibana got crashed and below is the trace;

```
Security context: 0x352116ecfb51 <JS Object>
    1: resolveUrl [/drive/ELK/Kibana/node_modules/elasticsearch/src/lib/client_action.js:~185] [pc=0x1e1b64fc5bdb] (this=0x352116ee6179 <JS Global Object>,url=0x3a7b82323671 <an Object with map 0xdb11b8f0849>,params=0x3475047f3ae1 <an Object with map 0x311bb8a14429>)
    2: exec [/drive/ELK/Kibana/node_modules/elasticsearch/src/lib/client_ac...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [./../node/bin/node]
 2: 0x1098b2c [./../node/bin/node]
 3: v8::Utils::ReportApiFailure(char const*, char const*) [./../node/bin/node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [./../node/bin/node]
 5: v8::internal::Factory::NewTransitionArray(int) [./../node/bin/node]
 6: v8::internal::TransitionArray::Insert(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Map>, v8::internal::SimpleTransitionFlag) [./../node/bin/node]
 7: v8::internal::Map::CopyReplaceDescriptors(v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Handle<v8::internal::LayoutDescriptor>, v8::internal::TransitionFlag, v8::internal::MaybeHandle<v8::internal::Name>, char const*, v8::internal::SimpleTransitionFlag) [./../node/bin/node]

```

What could be the reason and how can I prevent this from happening in the future?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [September 18, 2017, 7:04pm UTC](https://discuss.elastic.co/t/javascript-heap-out-of-memory-in-kibana-ga-5-0-0/100831/2 "2017-09-18T19:04:21Z")

</div>

What OS is Kibana running on?

If Linux, is it running as a service (from .deb or .rpm install) or did you use the .tar.gz archive?

Are you using X-Pack or any other plugins?

How long ago did you install, and when did the problems start?

Thanks,  
Lee

---

<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 16, 2017, 7:05pm UTC](https://discuss.elastic.co/t/javascript-heap-out-of-memory-in-kibana-ga-5-0-0/100831/3 "2017-10-16T19:05:07Z")

</div>

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