# Help - how can I reduce memory footprint of node-red

**URL:** <https://discourse.nodered.org/t/help-how-can-i-reduce-memory-footprint-of-node-red/14376>\
**Category:** General\
**Created:** [16 August 2019 07:36 UTC](https://discourse.nodered.org/t/help-how-can-i-reduce-memory-footprint-of-node-red/14376 "2019-08-16T07:36:13Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [19 August 2019 06:22 UTC](https://discourse.nodered.org/t/help-how-can-i-reduce-memory-footprint-of-node-red/14376/11 "2019-08-19T06:22:57Z")

</div>

Much better to pass them as part of the msg as they then stay as one unit, otherwise you need to tag each thing in context with something to correlate it with the correct msg. Don't forget JavaScript passes objects by reference.

---

_[View the full topic](https://discourse.nodered.org/t/help-how-can-i-reduce-memory-footprint-of-node-red/14376)._
