# Memory leak, what am I doing wrong?

**URL:** <https://discourse.nodered.org/t/memory-leak-what-am-i-doing-wrong/627>\
**Category:** General\
**Created:** [5 June 2018 17:52 UTC](https://discourse.nodered.org/t/memory-leak-what-am-i-doing-wrong/627 "2018-06-05T17:52:58Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![wb666greene](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wb666greene/32/6534_2.png) [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Post date:** [29 August 2018 20:15 UTC](https://discourse.nodered.org/t/memory-leak-what-am-i-doing-wrong/627/23 "2018-08-29T20:15:05Z")

</div>

I've not found a solution. Despite updates to node-red, nodejs, and the contrib nodes I use it still dies about once every other day.

But the out of memory killer restarts node-red and everything is running fine again within 10-15 seconds. My system has been running 24/7 since my last post in this thread and I've never noticed the issue save for examining the log files I save daily.

I haven't tried removing the debug nodes, I'm still making a few tweaks and I need the nodes for testing/verifying any changes made. Maybe in a week or two I'll been done with the minor changes suggested by a fw months of actual real-world use, and then try removing the debug nodes.

---

_[View the full topic](https://discourse.nodered.org/t/memory-leak-what-am-i-doing-wrong/627)._
