From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: tv.raman.tv@gmail.com
Cc: emacs-devel@gnu.org
Subject: Re: Memory Usage On Emacs 24 Lucid Linux:
Date: Mon, 12 Mar 2012 16:33:23 -0400 [thread overview]
Message-ID: <jwvd38himwn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20318.22787.38879.789013@gargle.gargle.HOWL> (T. V. Raman's message of "Mon, 12 Mar 2012 13:13:55 -0700")
> Just did a git pull -a to see if nmy memory woes on the 16-core
> workstation (HP Z600) were a thing of the past, alas No.
> Here are some numbers that I hope are useful:
> Running Emacs 23.2 on that machine, with my default .emacs
> loaded, RSS is about 235MB VSS about 430MB. This is an Emacs
> session that has been up for about a week.
> Emacs 24 built from today's git snapshot:
> Starting Emacs with the same .emacs loaded:
> 0. All memory on the machine goes away to Emacs (started with 9GB
> of 12GB free) -- as reported by free.
> 1. After running a garbage collect in that emacs (before GC, it
> was basically too slow to use)
> Running proced showed an RSS of 7gb and a VSS of approx 8GB.
> I ran M-x memory-usage and here are the numbers.
> Garbage collection stats:
> ((833982 . 321192) (57906 . 5) (116 . 491) 4504763 1000738985 (1539 . 520) (13100 . 7508) (171211 . 33823))
> => 13343712+5139072 bytes in cons cells
> 2779488+240 bytes in symbols
> 4640+19640 bytes in markers
> 24624+8320 bytes in floats
> 733600+420448 bytes in intervals
> 5478752+1082336 bytes in string headers
> 4504763 bytes of string chars
> 4504763 bytes of vector slots
Hmm... there's a bug in the above output: it should say 1000738985 bytes
of vector slots. That a whole 1G of vector slots. Where could these
come from?
Can you reproduce the above output with just "emacs; M-x memory-usage"
or do you need to do something more? Can you try to figure out which
part of your setup triggers this behavior?
Stefan
next prev parent reply other threads:[~2012-03-12 20:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 20:13 Memory Usage On Emacs 24 Lucid Linux: T. V. Raman
2012-03-12 20:33 ` Stefan Monnier [this message]
2012-03-12 21:06 ` Eli Zaretskii
2012-03-13 23:44 ` T.V. Raman
2012-03-13 23:53 ` T.V. Raman
2012-03-14 1:55 ` Stefan Monnier
2012-03-14 2:24 ` T.V. Raman
2012-03-14 17:13 ` T.V. Raman
2012-03-14 17:47 ` Stefan Monnier
2012-03-15 8:19 ` Chong Yidong
2012-03-12 21:08 ` Eli Zaretskii
2012-03-13 3:51 ` Memory Usage On Emacs 24 Lucid what?: Richard Stallman
2012-03-13 7:19 ` Simon Leinen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvd38himwn.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=tv.raman.tv@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).