# Logstash hanging while split array (consume too much memory)

**URL:** <https://discuss.elastic.co/t/logstash-hanging-while-split-array-consume-too-much-memory/187726>\
**Category:** Logstash\
**Created:** [June 27, 2019, 6:05am UTC](https://discuss.elastic.co/t/logstash-hanging-while-split-array-consume-too-much-memory/187726 "2019-06-27T06:05:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 27, 2019, 2:07pm UTC](https://discuss.elastic.co/t/logstash-hanging-while-split-array-consume-too-much-memory/187726/2 "2019-06-27T14:07:10Z")

</div>

Does [this](https://discuss.elastic.co/t/how-to-split-into-multiple-events-dynamically-for-a-given-json-tried-from-various-question-in-forums/167745/10) help? If you are splitting on a very large field then the split filter clones the target field before overwriting it. Obviously that can be optimized to remove the target before cloning it.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-hanging-while-split-array-consume-too-much-memory/187726)._
