Debugging Emacs memory leaks: https://notes.secretsauce.net/notes/2015/09/19_debugging-gnu-emacs-memory-leaks-part-1.html (reproduction, measurement and bisection!)