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

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.