emacs-devel
[Top][All Lists]
Advanced

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

Re: memory usage


From: Stefan Monnier
Subject: Re: memory usage
Date: Mon, 11 Jun 2007 17:28:21 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> 2007-06-03 on escher I have the impression, though I cannot be
> certain, that memory usage is greater than it had been with earlier
> builds.  My current session has been running for 13+ hours; top shows:

>   PID %MEM  VIRT SWAP  RES CODE DATA  SHR nFLT nDRT S  PR  NI %CPU COMMAND
>  4707 54.5  623m 349m 274m 1476 602m 8336 8928    0 S  17   0  0.0 emacs

200MB of resident size sounds a bit large.  Of course, it complely depends
on what you do with it.  Now that you mention it, I also see it here (my
main Emacs process is at more than 600MB of RSS).  Interestingly, I don't
see it with my Emacs process running Gnus (it's at 45MB of RSS).  Both of
them were started on June 6.

The 600MB process reports the appended info, which doesn't seem to justify
its size (even if you mutliply all the data by 2 since this is a 64bit
system and I'm not sure if the memory-report tool correctly takes it into
account).


        Stefan


Garbage collection stats:
((281590 . 116799) (22937 . 71) (14614 . 1238) 1039910 (23907 . 893363) (124 . 
364) (18634 . 717) (37375 . 7234))

 =>     4505440+1868784 bytes in cons cells
        1100976+3408 bytes in symbols
        584560+49520 bytes in markers
        1984+5824 bytes in floats
        1043504+40152 bytes in intervals
        1196000+231488 bytes in string headers
        1039910 bytes of string chars
        382512 bytes of vector headers
        7146904 bytes of vector slots

Total bytes in lisp objects: 19200966 (live 17001790, dead 2199176)

Buffer ralloc memory usage:
54 buffers
7172725 bytes total (97049 in gaps)
      Size      Gap     Name

   2167440      1998     *DOC*
   1202880      2000    loaddefs.el
   1018260      1885    ChangeLog | src
    897402      2000     *Unicode Data*
    719303      2000    address@hidden
    199744      2000    fileio.c
    174892      2000    icicles-fn.el
    104255      2000    eval.c
    104170      1564    font-lock.el | trunk
    104170      1564    font-lock.el | release
     97227      1977    term.c
     78031      2000    complete.el
     35706      2000    icicles-var.el
     31587      1919    ChangeLog | lisp
     26356      2000    hi-lock.el
     21546      1896    vc-svn.el
     19836      1841    css-mode.el
     16021      129     *Completions*
     12699      2000    ChangeLog | admin
      7612      501     *MPC Albums*
      7202      2000    =tagging-method
      4754      2000    memory-usage.el
      3851      1650    *Messages*
      3464      574     *MPC Artists*
      3464      1919     *code-converting-work*
      2909      2000    *grep*
      2846      2000    FOR-RELEASE
      2120      1646    *cvs* | trunk
      1772      2000    *Help*
       804      1196    *vc-diff*
       688      1782    *MPC Songs*
       604      1540    *Buffer Details*
       524      2000    *cvs* | release
       432      1595    *MPC Genres*
       304      2000     *cvs-tmp*
       217      2000    *vc*
       200      1952    foo.sml
       191      2000    *scratch*
        86      1914    *VC-log*
        69      1960    *MPC-Status*
        58      1956     *code-conversion-work*
        51      2000    *cvs-commit*
        25      1975     *Echo Area 0*
         0      20       *Minibuf-0*
         0      2000     *Minibuf-1*
         0      2000     *Minibuf-2*
         0      2000     *Echo Area 1*
         0      2000     *mpc*
         0      2000     *mpc download*
         0      2000     *mpc download*<2>
         0      2000    *Backtrace*
         0      2000     *mpc download*<3>
         0      2000     *cvs-tmp*<2>
         0      2000     *mpc download*<4>




reply via email to

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