Mqtt_input service high memory usage

Not with just the information given, no.

I know very little about the mqtt_input service, but maybe try stopping each source of MQTT in turn to see if it stops the RAM usage increase, assuming it is data that’s being held, it might not reduce in size but it might stop growing.