My Linux laptop locks up every now and then with swapping when I'm running our app in k3s; three database servers (2 mysql, 1 clickhouse), 4 JVMs, node, rails, IntelliJ, Chrome, Firefox and Slack, and you're starting to hit the buffers. I was contemplating adding more ram; 64 GB looks appealing.
I would not buy a new machine today for work with less than 32 GB.
I run Linux on all my machines, and even running many (5-10) containers, 16GB was plenty. I now understand a bit better.