From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Memory Usage On Emacs 24 Lucid Linux: Date: Thu, 15 Mar 2012 16:19:01 +0800 Message-ID: <87d38euvii.fsf@gnu.org> References: <20318.22787.38879.789013@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1331799564 10484 80.91.229.3 (15 Mar 2012 08:19:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2012 08:19:24 +0000 (UTC) Cc: "T.V. Raman" , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 15 09:19:23 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S85u7-0006kJ-9n for ged-emacs-devel@m.gmane.org; Thu, 15 Mar 2012 09:19:23 +0100 Original-Received: from localhost ([::1]:36499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S85u6-0004lN-D1 for ged-emacs-devel@m.gmane.org; Thu, 15 Mar 2012 04:19:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S85u1-0004kZ-AL for emacs-devel@gnu.org; Thu, 15 Mar 2012 04:19:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S85tv-0005OF-51 for emacs-devel@gnu.org; Thu, 15 Mar 2012 04:19:16 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:45469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S85tv-0005OA-1q for emacs-devel@gnu.org; Thu, 15 Mar 2012 04:19:11 -0400 Original-Received: from [155.69.19.195] (port=50881 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S85ts-0005Bc-Mp; Thu, 15 Mar 2012 04:19:09 -0400 In-Reply-To: (Stefan Monnier's message of "Wed, 14 Mar 2012 13:47:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:149071 Archived-At: Stefan Monnier writes: >> 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. Implemented in trunk. (Though if HISTSIZE is huge and the user really does have gigabytes of shell history stored on disk, Emacs still loads it all; that can't really be helped).