From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Clemente Newsgroups: gmane.emacs.devel Subject: Memory leaks Date: Wed, 05 Aug 2009 19:17:58 +0200 Message-ID: <87fxc6ji2h.fsf@CPU107.opentrends.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249492726 20552 80.91.229.12 (5 Aug 2009 17:18:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 17:18:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 19:18:39 2009 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.50) id 1MYk8M-0008Ur-I2 for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 19:18:38 +0200 Original-Received: from localhost ([127.0.0.1]:40235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYk8L-00052T-Td for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 13:18:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYk8E-0004zz-Jm for emacs-devel@gnu.org; Wed, 05 Aug 2009 13:18:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYk89-0004r8-Ue for emacs-devel@gnu.org; Wed, 05 Aug 2009 13:18:30 -0400 Original-Received: from [199.232.76.173] (port=48763 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYk89-0004qx-Mk for emacs-devel@gnu.org; Wed, 05 Aug 2009 13:18:25 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:43523 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYk89-0007q4-40 for emacs-devel@gnu.org; Wed, 05 Aug 2009 13:18:25 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MYk82-0004p0-NI for emacs-devel@gnu.org; Wed, 05 Aug 2009 17:18:18 +0000 Original-Received: from smtp.opentrends.net ([62.97.110.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Aug 2009 17:18:18 +0000 Original-Received: from dcl441-bugs by smtp.opentrends.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Aug 2009 17:18:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: smtp.opentrends.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:4aY/D2OuQ3oSI25DjyOpRVegSGI= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:113723 Archived-At: Hi, today my Emacs --daemon from CVS started eating memory and ended up with 1 Gb resident and 2'5 Gb virtual, with only 180 small buffers open. I wanted to debug who was taking all this memory. Since I don't know how to find out this, I have started to collect more information in EmacsWiki: http://www.emacswiki.org/emacs/EmacsMemoryDebugging How do you debug memory leaks? Please add tips there so that they are useful to more people. Thanks -- Daniel