resident program; TSR program
Computing term for a program that stays loaded in memory after execution, often providing background services. The longer gloss 'terminate and stay resident program' is the full technical term.
The resident program is consuming memory.
This TSR program monitors keyboard input.