all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Berman <Stephen.Berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: memory usage
Date: Mon, 11 Jun 2007 17:28:21 -0400	[thread overview]
Message-ID: <jwvy7iq2nsg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87ps4244a9.fsf@escher.local.home> (Stephen Berman's message of "Mon\, 11 Jun 2007 22\:36\:30 +0200")

> 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	monnier@iro.umontreal.ca--first%emacs--monnier--0--patch-478
    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	other threads:[~2007-06-11 21:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11 20:36 memory usage Stephen Berman
2007-06-11 21:28 ` Stefan Monnier [this message]
2007-06-13 16:21 ` Richard Stallman
2007-06-13 17:59   ` Stephen Berman
2007-06-14 16:19     ` Richard Stallman
2007-06-14 19:09       ` Stephen Berman
2007-06-15 19:21         ` Richard Stallman
2007-06-15 21:12           ` Stephen Berman
2007-07-09 13:01             ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvy7iq2nsg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=Stephen.Berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.