Firefox is particularly good at having lots of tabs open and not using tons of memory.
$ ~/dev/mozlz4-tool/target/release/mozlz4-tool \
"$(find ~/Library/Application\ Support/Firefox/Profiles/ -name recovery.jsonlz4 | head -1)" | \
jq -r '[.windows[].tabs | length] | add'
5524
Activity monitor claims firefox is using 3.1GB of ram. Real memory size: 2.43 GB
Virtual memory size: 408.30 GB
Shared memory size: 746.5 MB
Private memory size: 377.3 MB
That said, I wholeheartedly agree that "more RAM less problems". The only case I can think of when it's not strictly better to have more is during hibernation (cf sleep) when the system has to write 128GB of ram to disk.