# Memory usage on startup

**URL:** <https://discuss.elastic.co/t/memory-usage-on-startup/31789>\
**Category:** Logstash\
**Created:** [October 7, 2015, 4:20pm UTC](https://discuss.elastic.co/t/memory-usage-on-startup/31789 "2015-10-07T16:20:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ofer\_peretz](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@ofer\_peretz](https://discuss.elastic.co/u/ofer_peretz)\
**Post date:** [October 7, 2015, 4:20pm UTC](https://discuss.elastic.co/t/memory-usage-on-startup/31789/1 "2015-10-07T16:20:29Z")

</div>

Hi,  
I have using logstash forwarder to ship log from lightweight machine with limited RAM.  
When logstash forwarder is running on the machine it uses 200M when starting it without processing any logs yet.

My question is: Logstash forwarder memory usage can be reduced by some way?  
or there is logstash forwarder that written in other language so it can compile more efficiently other than GO?

ive noticed there is logstash forwarder written in Ruby, it can be used?

Thanks,  
Ofer.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [October 7, 2015, 5:14pm UTC](https://discuss.elastic.co/t/memory-usage-on-startup/31789/2 "2015-10-07T17:14:45Z")

</div>

Are you sure it's logstash-forwarder and not Logstash you're talking about? And how did you reach the number 200 MB? When I run logstash-forwarder the VIRT column in top(1) indeed shows about 240 MB, but that not interesting as it's the amount of memory that's mapped into the process's virtual address space. The RES column on the other hand contains how much RAM is actually being used (i.e. how much of the virtual memory that's resident in RAM) and that figure is less than 8 MB in my case.

---

<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:** [July 6, 2017, 5:27am UTC](https://discuss.elastic.co/t/memory-usage-on-startup/31789/3 "2017-07-06T05:27:12Z")

</div>

Closed on July 6, 2017, 5:27am UTC


