From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Debugging memory leaks/stale references Date: Tue, 28 Sep 2004 11:20:46 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <87d60fjzdg.fsf@deneb.enyo.de> <871xgnmree.fsf@deneb.enyo.de> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1096384926 17294 80.91.229.6 (28 Sep 2004 15:22:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Sep 2004 15:22:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 28 17:21:55 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CCJnd-00064v-00 for ; Tue, 28 Sep 2004 17:21:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCJtv-0002Fh-6y for ged-emacs-devel@m.gmane.org; Tue, 28 Sep 2004 11:28:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CCJtk-0002AQ-Jf for emacs-devel@gnu.org; Tue, 28 Sep 2004 11:28:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CCJtk-00029k-2P for emacs-devel@gnu.org; Tue, 28 Sep 2004 11:28:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CCJtj-00029e-Ta for emacs-devel@gnu.org; Tue, 28 Sep 2004 11:28:11 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CCJmZ-0007G7-K9 for emacs-devel@gnu.org; Tue, 28 Sep 2004 11:20:47 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CCJmY-0001ty-So; Tue, 28 Sep 2004 11:20:46 -0400 Original-To: Florian Weimer In-reply-to: <871xgnmree.fsf@deneb.enyo.de> (message from Florian Weimer on Mon, 27 Sep 2004 21:40:57 +0200) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27647 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27647 It might be interesting to keep track of malloc'ing of large blocks of memory, recording the last N large blocks allocated in a table. Or perhaps only those that do not hold conses, miscs, small strings, etc. This way you might be able to find some large blocks and then examine them to see what data is in them.