3 ms·
> As long as there is still swap AND physical memory available, there is no problem. If we run out of physical memory and there is swap, performance will crater
by vlovich123 5y ago
> As long as there is still swap AND physical memory available, there is no problem. If we run out of physical memory and there is swap, performance will crater due to paging, but we won’t crash.
That's a disheartening stance to hear. The browser should be actively evicting work before I start swapping if it's using more than some small percentage of overall RSS. If my IDE decides it needs more RAM for code completion, the browser should play nice rather than slowing my machine to a crawl.
- gcp 5y agoThat's definitely something we would want to do, but it requires a (very) reliable measurement method for this kind of memory pressure. If it's not reliable, the browser unloads tabs when it's not needed, and that's way more annoying.