emacs-devel
[Top][All Lists]
Advanced

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

Re: Memory Usage On Emacs 24 Lucid Linux:


From: Stefan Monnier
Subject: Re: Memory Usage On Emacs 24 Lucid Linux:
Date: Tue, 13 Mar 2012 21:55:22 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

> After running emacs -q -- and then M-x shell, I see all of the
> memory on the machine getting shewed up -- at least as reported
> by free.

Aha!

> Shell: emacs -q M-x shell M-x memory-usage

> Garbage collection stats:
> ((54977 . 10205) (15045 . 0) (90 . 121) 417724 1000327014 (67 . 191)
> (117 . 161) (25648 . 1043))

>  =>   879632+163280 bytes in cons cells
>       722160+0 bytes in symbols
>       3600+4840 bytes in markers
>       1072+3056 bytes in floats
>       6552+9016 bytes in intervals
>       820736+33376 bytes in string headers
>       417724 bytes of string chars
>       417724 bytes of vector slots

> Total bytes in lisp objects: 1003392058 (live 1003178490, dead 213568)

OK, that's very helpful, it narrows it down a good deal.
Now, all we have to figure out is how on earth does "M-x shell" create
so many (or such large) vectors!
Could it be you have $HISTSIZE set to a really large number?


        Stefan



reply via email to

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