Bitsum Community Forum

General Category => Process Lasso => Topic started by: Coldblackice on November 10, 2021, 09:51:25 AM

Title: Possible to limit per-process memory usage?
Post by: Coldblackice on November 10, 2021, 09:51:25 AM
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.
Title: Re: Possible to limit per-process memory usage?
Post by: Jeremy Collake on November 10, 2021, 01:58:56 PM
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.
Title: Re: Possible to limit per-process memory usage?
Post by: Coldblackice on November 11, 2021, 03:36:23 AM
Got it, thanks!