If you no longer need to have the app running, you should quit the app.
If memory pressure is yellow, red, or has spikes, check to see if an app is using up memory and causing the memory pressure to increase. Red memory pressure: Your computer needs more RAM. Yellow memory pressure: Your computer might eventually need more RAM. Green memory pressure: Your computer is using all of its RAM efficiently.
The Memory Pressure graph lets you know if your computer is using memory efficiently.
In the Activity Monitor app on your Mac, click Memory (or use the Touch Bar).