That is interesting, I run Firefox, VSCode, containers and whatever code I'm working on. I never even need to look at RAM usage. It would be interesting to know what triggers the RAM limit in your case.
The only application I ever need to terminate is Notes, which for some reason is extremely crash prone on the mac.