How would I find a "memory leak"?

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.

Well, if anyone is still reading this:

The full reboot got the used memory down to (can't remember exactly and for some reason can't find the numbers I posted) about 44%

It's now been 4 days and it flat at 46%.

:confused:

So it is (or seems to be) happy now.

The node mentioned:
It crashes NR.

But that MAY be because it is 4.0.9
:person_shrugging:

Thanks all who posted/helped.

1 week 4 days uptime.

49% memory used.

So what ever it is/was: It's gone now.

Thanks folks.

As you could see from some of the earliest screenshots of top it was lxpanel causing the issue.