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: Mon, 12 Mar 2012 16:33:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

> 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



reply via email to

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