From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joakim Verona Newsgroups: gmane.emacs.devel Subject: How to see where emacs memory goes to Date: Wed, 29 Jun 2005 12:06:16 +0200 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120043768 11980 80.91.229.2 (29 Jun 2005 11:16:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2005 11:16:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 13:16:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnaXp-0007gP-Gk for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 13:15:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dnafr-0006U6-CL for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 07:24:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnZy6-000075-3g for emacs-devel@gnu.org; Wed, 29 Jun 2005 06:38:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnZxB-0008GP-5P for emacs-devel@gnu.org; Wed, 29 Jun 2005 06:38:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnZqf-0006wq-Mk for emacs-devel@gnu.org; Wed, 29 Jun 2005 06:31:18 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DnZY1-0001Fw-FP for emacs-devel@gnu.org; Wed, 29 Jun 2005 06:12:01 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DnZM3-0004OE-Ih for emacs-devel@gnu.org; Wed, 29 Jun 2005 11:59:39 +0200 Original-Received: from ua-83-227-131-3.cust.bredbandsbolaget.se ([83.227.131.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 11:59:39 +0200 Original-Received: from joakim by ua-83-227-131-3.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Jun 2005 11:59:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ua-83-227-131-3.cust.bredbandsbolaget.se User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:wsy6nOE0jE4yj9OlnMlhvLFzED4= 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:39886 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39886 Hello, My emacs currently consumes 256Mb virtual, and 125Mb resident. Its also fairly slow. This happens a lot with my usage pattern. Im trying to get a feel for where the memory consumption and slowness occur, and Im looking for techniques. Any hints would be apreciated. I currently look at these things: - m-x garbage-collect to get a baseline - how large the buffers are, including "hidden" ones - looking at the number of overlays in certain buffers. None of these factors seem to come even close to the numbers I get. Currently it seems ERC is causing a lot of the slowness, if not the memory consumption. A plain emaccs -q does of course run fast on my system. -- Joakim Verona www.verona.se