From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: How to debug out of memory situation? Date: Tue, 27 May 2003 17:06:28 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84n0h8l98r.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1054050897 3634 80.91.224.249 (27 May 2003 15:54:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 15:54:57 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 27 17:54:53 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19KgjR-0000am-00 for ; Tue, 27 May 2003 17:51:21 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19KgxB-0002SF-00 for ; Tue, 27 May 2003 18:05:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KgdD-0001wh-FA for emacs-devel@quimby.gnus.org; Tue, 27 May 2003 11:44:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19KgFF-0004OV-WE for emacs-devel@gnu.org; Tue, 27 May 2003 11:20:10 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19KgBc-0003Go-J0 for emacs-devel@gnu.org; Tue, 27 May 2003 11:16:25 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Kg9m-00034B-Df for emacs-devel@gnu.org; Tue, 27 May 2003 11:14:30 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Kg4f-0005RT-00 for ; Tue, 27 May 2003 17:09:13 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Kg0I-00056R-00 for ; Tue, 27 May 2003 17:04:42 +0200 Original-Lines: 21 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:73ZV0iVDJkinvGYVdKxMIVq4CbE= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14331 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14331 When using Gnus from CVS (I mean the CVS at gnus.org) together with Emacs from CVS, and I tell the Agent to fetch articles, then I often get an out of memory error. At one point, I was actually thrown into the (Lisp-level) debugger, and at that point I did M-x apropos-value RET ^.\{10000\} RET (also the same without backslashes), but that didn't find anything. Is there a way for me to figure out where the memory is gone, so that Emacs has no more memory? Hm. Maybe I should have said M-x apropos-value RET \`\(.\| C-q C-j \)\{10000\} RET. Most of the time, Emacs doesn't go into the debugger. Instead, it beeps endlessly. Sometimes, it prints a warning about memory full and advises me to save buffers and kill Emacs. Sometimes it gives me a memory-full warning and asks me whether to continue. I think both answers (yes, and no) result in endless beeps... -- This line is not blank.