From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.bugs Subject: Re: frames vs. weak hash tables and garbage collection Date: Sun, 02 Sep 2007 04:00:46 +0200 Message-ID: <87ejhhn7w1.fsf@gnuvola.org> References: <86wsvdvmkb.fsf@macs.hw.ac.uk> <86y7fru45n.fsf@macs.hw.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188698526 11241 80.91.229.12 (2 Sep 2007 02:02:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2007 02:02:06 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Joe Wells Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 02 04:02:05 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IRemo-00063p-T3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 02 Sep 2007 04:02:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRemn-0004OQ-UA for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Sep 2007 22:02:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IReml-0004Kg-En for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2007 22:01:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IRemj-0004IO-Ux for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2007 22:01:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IRemj-0004I6-RC for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2007 22:01:57 -0400 Original-Received: from ppp-144-38.21-151.libero.it ([151.21.38.144] helo=localhost.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IRemj-0006UD-9Q for bug-gnu-emacs@gnu.org; Sat, 01 Sep 2007 22:01:57 -0400 Original-Received: from ttn by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1IRelb-0001E7-2X; Sun, 02 Sep 2007 04:00:47 +0200 In-Reply-To: (Joe Wells's message of "01 Sep 2007 21\:03\:26 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Genre and OS details not recognized. X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16477 Archived-At: () Joe Wells () 01 Sep 2007 21:03:26 -0400 > maybe you have "too much" memory. What do you mean? i confesss not looking into emacs' gc innards (yet); the comment was motivated by fuzzy remembrance of some gc systems that reclaim "enough" (but not all) to keep going. if emacs is like that, then maybe "enough" was reclaimed (but not the dead frame). if so, we would need to increase the garbage creation to get past the threshold. see following: > did you try 100 (1000?) gc passes? Yes, I've just now tried with 1000 repetitions [...] makes no difference; I still get the bug. how about doing a lot of consing before or in between? maybe: (make-list 100000 (random)) ... (loop repeat 1000 do (progn (make-list 10000 (random)) (garbage-collect))) btw, these are just idle suggestions, please don't take them too seriously. i really dislike making them when bug-hunting, but the ignorantly curious side of me prevails sometimes... thi