If it’s Node-RED leaking I usually use this node node-red-contrib-heap-dump (node) - Node-RED
To take memory snapshots at different intervals, I then analyse it with the chrome debugger tools.
Nowadays you can probably throw the snapshot files at an LLM that should be able to analyse it quickly.
I'll give that a try.
Thanks.