emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs bzr memory footprint


From: Dmitry Antipov
Subject: Re: Emacs bzr memory footprint
Date: Fri, 14 Oct 2011 07:09:37 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

On 10/13/2011 10:42 PM, Eli Zaretskii wrote:

1. Run ./src/emacs, then eval (length features), which gives 88. VSS/RSS is 
195436/18656 Kb.
2. Run ./src/emacs `find . -name '*.el' -o -name '*.[ch]'`, wait, eval (length 
features) =>
     100, (length (buffer-list)) =>  1990. VSS/RSS is 309264/132656 kb.
3. After (mapcar 'kill-buffer (buffer-list)), VSS/RSS is 273620/97132 kb.

I believe 97132 - 18656 = 78476 kb of physical memory is too much for 12 Lisp 
libraries.
Where is the rest? Or, what's wrong with this scenario?

What is the return value of (garbage-collect), before and after these
actions?

-- conses ----------- symbols ------ markers ----- string chars - vector slots 
- floats --- intervals ----- strings--------
1) (49153 . 8818)     (14376 . 0)    (36 . 149)    70230          322172        
 (68 . 225) (36 . 10)       (3241 . 2153)
2) (1007686 . 123595) (37604 . 0)    (4002 . 3546) 984071         1396344       
 (70 . 122) (126865 . 5201) (24249 . 11060)
3) (84021 . 133132)   (20840 . 7631) (45 . 273)    589623         445180        
 (70 . 327) (38 . 214)      (15836 . 18822)

Dmitry





reply via email to

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