I'm facing the similar issues with my m1 air(8 GB). Recently firefox managed to get to 44GB. I'm closing and re-opening my applications; and checking the memory pressure when things start to feel sluggish. Also unrelated but my speakers have started to sound like garbage.