I have a 24GB M2 and the thing dances around anything I throw at it. I’m typing on it right now with Onshape in a few tabs, orcaSlicer in a few windows, work in a few chrome tabs, a few iterm sessions, and a million other little apps in the background with very little hickups.
Fine. You want two?! Will that be enough??