From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Frode Vatvedt Fjeld Newsgroups: gmane.emacs.help Subject: How to debug elisp memory leak Date: Thu, 16 Sep 2004 16:45:09 +0200 Organization: University of Tromsų Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <2hzn3qz30q.fsf@vserver.cs.uit.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095346170 2559 80.91.229.6 (16 Sep 2004 14:49:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2004 14:49:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 16 16:49:22 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 1C7xZZ-0004I3-00 for ; Thu, 16 Sep 2004 16:49:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7xfF-0004Ot-Ju for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Sep 2004 10:55:13 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!easynet-monga!easynet.net!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.uit.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: vserver.cs.uit.no Original-X-Trace: news.uit.no 1095345909 83018 129.242.16.151 (16 Sep 2004 14:45:09 GMT) Original-X-Complaints-To: usenet@uit.no Original-NNTP-Posting-Date: Thu, 16 Sep 2004 14:45:09 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (berkeley-unix) Cancel-Lock: sha1:EANhyZV1RqqoJOfzy0O2SHkUIDc= Original-Xref: shelby.stanford.edu gnu.emacs.help:125359 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20714 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20714 I'm regularly getting the "lisp pointer size exceeded" warning after about one week of running emacs. When this happens, nothing I do, such as killing buffers, seems to help much; at most I can postpone the inevitable crash for a few more minutes of work. I figure there's a memory leak; somewhere there's e.g a global variable with an ever-growing list of whatever. But I have no idea where to start looking for what or where this might be. Can anyone help me? I'm using GNU Emacs 21.3.1, but this behavior has been consistent for at least a few months and minor versions of emacs. Thanks, -- Frode Vatvedt Fjeld