With 8gb?
I am aware that macOS is better than Linux with low memory conditions but I can’t imagine this, granted I have an older (2020) MacBook Pro, but I have ran out of ram and I specifically opted for the 32G one.
As in: I got the infamous “your system is low on memory” dialog.
All it took was teams, slack, chrome, MS word, docker (vm with default config) and 2 1G VMs invirtualbox