Why does the regular inject node with let's say 5sec intervals which is triggering the whole flow - result in memory leak (memory consumed by node-red process/docker container)?
If I just disable inject node and add http-in node instead and make HTTP requests to it every 5 secs - everything works fine.
But the inject code eventually results in a node-red instance crash due to out of memory error.
How can I fix it? I need a trigger to run my flow by schedule/X seconds interval.
What can I do about it?
Thanks!!
Thank you, all for reply!
And thanks Colin! I suppose this was the reason. I've disconnected all outputs (it had API output,flex-desh output and vuejs custom dashboard output connected).
So I only left my custom vuejs dashboard connected as the single output, and it seemed to resolve the memory issue!