VM

Comment 1 for bug 727718

Revision history for this message
John Hein (xpqheqdvq4) wrote : Re: [Bug 727718] [NEW] Space leak

Uday Reddy wrote at 11:05 -0000 on Mar 2, 2011:
 > Public bug reported:
 >
 > After using VM for an hour or so, I have an Emacs session that occupies
 > about 100MB, even after killing all buffers. An empty Emacs session
 > should only occupy about 10MB. So, space is leaking somewhere.

It would be great to squash this bug. Happy to test patches here.

It's probably worse with large inboxes - I just dropped from 259 MB to
55 MB after vm-quit-no-change (after running for ~12 hours).

On the other hand, killing emacs and restarting, then opening the same
inbox puts me at 240 MB, so most of that is not a leak, just emacs
with a large file open.

Hmmm, with vm rev 1099...
 fresh emacs 23.2, M-x vm => 240 MB
 M-x vm-quit-no-change, M-x vm => 252 MB
 M-x vm-quit-no-change, M-x vm => 254 MB
 M-x vm-quit-no-change, M-x vm => 256 MB