I was hacking in image.c today, and was compiling Emacs several times; after some time I thought I saw some slowdown in term. I can see pmem is on ~74%; and Emacs is eating about 25 gig of ram. I haven't used Dired today at all. I took some pmap dump; no idea if it can help, but maybe you would like to look at it anyway.