Firefox 110 causes just about anything to crash (KWin, amdgpu.ko, Xorg, anything) if it starts using up too much RAM... Unfortunately, it seems to be the only usable browser... I may resort to sandboxing the process or otherwise figure out how to limit RAM usage for Firefox... 15 minutes of research, and I used the following query on Google:
how to limit total amount of RAM a process uses in freebsd
. And this is what I came up with, I think that's a useful hit:
FreeBSD provides several methods to limit the system resources an individual may use. The rctl command can be effectively used for controlling resource limits.
klarasystems.com
. It talks about limiting RAM usage for jails, but it should be equally applicable to the Firefox memory leaks. Apparently, the FreeBSD version of memory is not well-implemented for Firefox, which is unfortunate.
Edit: After reading the
rctl(8) manpage, I'm beginning to have my doubts as to whether or not
-memoryuse
flag is used or defined correctly by the klarasystems blogger... Well, there are ways to verify that and connect the dots. Sometimes, the manpages use different terminology than expected, and then users/readers gotta be able to connect those dots. That's what RTFM is often about, after all