# Elasticsearch 5.2.2 - Out of memory - while indexing

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-2-2-out-of-memory-while-indexing/78457>\
**Category:** Elasticsearch\
**Created:** [March 14, 2017, 7:22am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-2-out-of-memory-while-indexing/78457 "2017-03-14T07:22:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tomekit](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@tomekit](https://discuss.elastic.co/u/tomekit)\
**Post date:** [March 15, 2017, 8:33am UTC](https://discuss.elastic.co/t/elasticsearch-5-2-2-out-of-memory-while-indexing/78457/2 "2017-03-15T08:33:05Z")

</div>

I've managed to find some output from `journalctl`, which clearly says:

> Mar 15 08:03:11 v2-es5-us kernel: Out of memory (oom\_kill\_allocating\_task): Kill process 17552 (java) score 0 or sacrifice child  
> Mar 15 08:03:11 v2-es5-us kernel: Killed process 17482 (java) total-vm:38214392kB, anon-rss:2420632kB, file-rss:492624kB

**Full log:**

> **[Mar 15 08:03:11 v2-es5-us kernel: java invoked oom-killer: gfp\_mask=0x26000c0,...](https://pastebin.com/bEMzc7AD)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-5-2-2-out-of-memory-while-indexing/78457)._
