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: Wed, 14 Mar 2012 13:47:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

> You were spot on --- I had HISTSIZE  set to infinity.

Great.

> have an infinitely long history. It worked correctly until about
> May 2011, which is when Emacs 24 built from git/bzr started
> displaying the memory leak behavior we have been discussing.

1G entries, leads to 4GB or 8GB array, so I'd guess that before May
2011, Emacs still computed those sizes using `int' (32bit) or something
like that.
Or it's simply when shell.el started to support HISTSIZE.

> I've removed these from my shell environemnt, and Emacs 24 is
> running happily with my full Emacs environment loaded.

So the right fix might be for shell.el to allocate its history-ring
more lazily.


        Stefan



reply via email to

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