From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Memory leaks Date: Tue, 08 Mar 2011 19:39:43 -0500 Message-ID: References: <4D70CF59.4010406@cs.bham.ac.uk> <87ipvutvm3.fsf@fencepost.gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1299631194 30493 80.91.229.12 (9 Mar 2011 00:39:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 00:39:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 09 01:39:50 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Px7RN-0002SX-Oi for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 01:39:49 +0100 Original-Received: from localhost ([127.0.0.1]:53997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px7RN-0005Fo-AE for ged-emacs-devel@m.gmane.org; Tue, 08 Mar 2011 19:39:49 -0500 Original-Received: from [140.186.70.92] (port=40277 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px7RI-0005FT-Ml for emacs-devel@gnu.org; Tue, 08 Mar 2011 19:39:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px7RH-0001f1-Ti for emacs-devel@gnu.org; Tue, 08 Mar 2011 19:39:44 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:33134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px7RH-0001ew-Qf for emacs-devel@gnu.org; Tue, 08 Mar 2011 19:39:43 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Px7RH-00037P-EO; Tue, 08 Mar 2011 19:39:43 -0500 In-reply-to: <87ipvutvm3.fsf@fencepost.gnu.org> (message from David Kastrup on Mon, 07 Mar 2011 23:27:00 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136928 Archived-At: Unfortunately, symbols are daisy-chained from their obarray bucket, so even unused symbols can't be collected until all their successors in the hidden hash bucket chain have become unused as well. It would not be hard to make GC know how to GC symbols and delete them from the obarray. This is a traditional Lisp feature that I left out to make Emacs smaller. However, it won't do much good unless you create a lot of symbols that you don't need for long. Is that happening? -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org, www.gnu.org