And to follow up on previous comments: with the current approach we’ll never be able to fully prevent the OOM killer from kicking in (nor would it be desirable), what we need is an acceptable threshold that gives good results (prevents the browser from being killed while in the foreground most of the time) while being conservative enough to not close too many background tabs.
And to follow up on previous comments: with the current approach we’ll never be able to fully prevent the OOM killer from kicking in (nor would it be desirable), what we need is an acceptable threshold that gives good results (prevents the browser from being killed while in the foreground most of the time) while being conservative enough to not close too many background tabs.