emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory usage report


From: Stefan Monnier
Subject: Re: Memory usage report
Date: Thu, 17 Sep 2020 15:45:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> This can't be reported accurately, really, but...  does Emacs already
> have a command that tries to visualise this for users?  There's
>
> (garbage-collect)
> =>
> ((conses 16 6833300 570188)
>  (symbols 48 43826 42)
>  (strings 32 599007 230739)
>  (string-bytes 1 57524636)
>  (vectors 16 77428)
>  (vector-slots 8 2510954 524038)
>  (floats 8 6607 6143)
>  (intervals 56 1505503 18066)
>  (buffers 992 207))
>
> but that leaves a lot out,

Yes, that's a very serious shortcoming.

>  and isn't very user friendly.

GNU ELPA has `memory-usage` which makes this more user-friendly (and
adds a bit more information, tho far from enough in many cases).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]