# "Cannot allocate memory" in Logstash exec plugin

**URL:** <https://discuss.elastic.co/t/cannot-allocate-memory-in-logstash-exec-plugin/182912>\
**Category:** Logstash\
**Created:** [May 27, 2019, 12:54pm UTC](https://discuss.elastic.co/t/cannot-allocate-memory-in-logstash-exec-plugin/182912 "2019-05-27T12:54:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Dheeraj\_Gupta](https://avatars.discourse-cdn.com/v4/letter/d/49beb7/32.png) [@Dheeraj\_Gupta](https://discuss.elastic.co/u/Dheeraj_Gupta)\
**Post date:** [May 29, 2019, 12:57pm UTC](https://discuss.elastic.co/t/cannot-allocate-memory-in-logstash-exec-plugin/182912/4 "2019-05-29T12:57:52Z")

</div>

I have no performance or foot-print comparisons.

But here's an [old thread](https://discuss.elastic.co/t/which-input-logstash-plugin-is-the-fastest/62622) for logstash 2.x which states TCP is 5x times faster than unix.

---

_[View the full topic](https://discuss.elastic.co/t/cannot-allocate-memory-in-logstash-exec-plugin/182912)._
