For those who use Emacs on macOS, I highly recommend upgrading to 31.1 ASAP since several memory leaks have been fixed by Przemysław Alexander Kamiński [1] et al.
[1]: Author of "Emacs: The macOS Bug" (<https://xlii.space/eng/emacs-the-macos-bug/>), which surfaced on HN some time ago.