My company made the mistake of ordering 8GB M1 MacBook Pros for everyone. After all ... they say "Pro", right? Truly the worst computer I've ever used, all because of memory management (and M1s unique memory-sharing architecture).
Even simple tasks like opening a new tab or switching windows showed serious lag. I could not run my local dev server and listen to music at the same time.
We eventually just said "screw it" and bought all new 16GB MacBook Airs. 1000x better.