Subject: Re: bug#10277: 24.0.91; memory leak when using vm

From: Stefan Kangas <[email-masked]>
Date: Sat, 21 Sep 2019 01:19:33 +0200

emacs user <[email-masked]> writes:

> In GNU Emacs 24.0.91.1 (x86_64-apple-darwin11.2.0, NS apple-appkit-1138.23)
>  of 2011-11-25 on MacBook-Air.local
> Windowing system distributor `Apple', version 10.3.1138
> configured using `configure  '--with-ns''
>
> when using vm, emacs grows in size every time I read my inbox, and
> eventually crashes.  garbage-collect has no effect.  memory-usage.el
> gives the output below, I would be grateful for any hints on how to
> identify the problem...
>
> [at the time of this report, emacs grew to about 200mb (using activity
> monitor on the mac).  it's initial size was about 30mb. ]
>
> \Garbage collection stats:
> ((470940 . 228143) (128755 . 1) (348632 . 1073) 9089641 3274519 (123 .
> 1083) (4119 . 14324) (691547 . 38503))
>
>  =>    7535040+3650288 bytes in cons cells
>     6180240+48 bytes in symbols
>     13945280+42920 bytes in markers
>     1968+17328 bytes in floats
>     230664+802144 bytes in intervals
>     22129504+1232096 bytes in string headers
>     9089641 bytes of string chars
>     9089641 bytes of vector slots
>
> Total bytes in lisp objects: 68131680 (live 62386856, dead 5744824)
>
> Buffer ralloc memory usage:
> 10 buffers
> 10404 bytes total (9887 in gaps)
>       Size    Gap    Name
>
>        568    1572    *Buffer Details*
>         20    2045     *Echo Area 1*
>         17    3     *Custom-Work*
>          5    2020     *code-conversion-work*
>          0    20    *scratch*
>          0    2037     *Minibuf-1*
>          0    20     *vm-nonexistent-summary*
>          0    20     *Minibuf-0*
>          0    2037     *Echo Area 0*
>          0    20     *subst-char-in-string*

This was reported 8 years ago, and many things have changed since then.
Are you still seeing this on a modern version of Emacs?

Best regards,
Stefan Kangas