Is there a way to limit a particular program's memory usage, preventing a program from getting a "blank check" to expand its memory usage until system RAM is nearly maxed? This is particularly a common occurrence with web browsers, when using lots of tabs.
I looked around in the settings but couldn't find this, just auto-trimming/purging.
You'd have to use a Watchdog rule to restart the offending process. Forcibly denying memory allocation would simply cause the application to crash, so there can be no externally imposed limit on virtual memory consumption, and the best that can be done to limit RAM usage is via the Working Set Trim.
Got it, thanks!