One other important detail for M1 Macs is that the use of Unified Memory, where the CPU and GPU share the installed RAM. So with 32 GB, all the usual application memory comes out of the 32GB installed, but also all the graphics memory is taken from the same 32GB. It makes tracking memory usage a lot trickier. This is a good article explaining how all that works on an M1 Mac.