From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Memory Usage On Emacs 24 Lucid Linux: Date: Mon, 12 Mar 2012 13:13:55 -0700 Message-ID: <20318.22787.38879.789013@gargle.gargle.HOWL> Reply-To: tv.raman.tv@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1331583256 28906 80.91.229.3 (12 Mar 2012 20:14:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2012 20:14:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 12 21:14:16 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S7BdC-000158-3f for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2012 21:14:10 +0100 Original-Received: from localhost ([::1]:57931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7BdB-00076m-Ec for ged-emacs-devel@m.gmane.org; Mon, 12 Mar 2012 16:14:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Bd8-000761-Bo for emacs-devel@gnu.org; Mon, 12 Mar 2012 16:14:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Bd6-000382-9M for emacs-devel@gnu.org; Mon, 12 Mar 2012 16:14:05 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:56987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Bd6-00035A-2P for emacs-devel@gnu.org; Mon, 12 Mar 2012 16:14:04 -0400 Original-Received: by ghrr18 with SMTP id r18so3583419ghr.0 for ; Mon, 12 Mar 2012 13:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:mime-version:content-type:content-transfer-encoding :to:subject:x-mailer:reply-to:from:x-attribution; bh=bghJ3aUJ/vJvSEJKA1KhfCEZZlB99PuM6Lne6URW6EE=; b=X3mG5NZyCfmhC2SgfxCypNTiR57zVCj/+3zF6ZWWtsFskGYNAcmaBKPYCo+cTZjfWZ vkCrEBTopdGCw36dV1xBpbxjtL7FdO+FrYv6gUL2i1jMt7xAjvcaByrOCfZ0lxgAGMrC vDfBkq7yrdFKtfuB+4W9GmjU7/a9KW/fCgjycNI51nGtmJgSdNJTnmOYKHegX2sYKIrY Yh8ZUYs8RsUJ6xIecNa8mBLu9Ly7Rt8AWhcOKjYVAyA9ynloJFjZV4sOURxwZfUBFtOt TlOccbXRY6dejwKEHorDtiLQ64++ZgifrETC72Z6SfMcEMoKFMBJbYzSAPq36550tEvp 42WA== Original-Received: by 10.68.227.99 with SMTP id rz3mr2647180pbc.39.1331583241381; Mon, 12 Mar 2012 13:14:01 -0700 (PDT) Original-Received: from lapdog.google.com ([2620:0:1000:fd61:221:6aff:fe80:325a]) by mx.google.com with ESMTPS id 6sm4325994pbh.65.2012.03.12.13.13.58 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Mar 2012 13:14:00 -0700 (PDT) X-Mailer: VM 8.1.1 under 24.0.94.2 (x86_64-unknown-linux-gnu) x-attribution: tvr X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148984 Archived-At: Just did a git pull -a to see if nmy memory woes on the 16-core workstation (HP Z600) were a thing of the past, alas No. Here are some numbers that I hope are useful: Running Emacs 23.2 on that machine, with my default .emacs loaded, RSS is about 235MB VSS about 430MB. This is an Emacs session that has been up for about a week. Emacs 24 built from today's git snapshot: Starting Emacs with the same .emacs loaded: 0. All memory on the machine goes away to Emacs (started with 9GB of 12GB free) -- as reported by free. 1. After running a garbage collect in that emacs (before GC, it was basically too slow to use) Running proced showed an RSS of 7gb and a VSS of approx 8GB. I ran M-x memory-usage and here are the numbers. Garbage collection stats: ((833982 . 321192) (57906 . 5) (116 . 491) 4504763 1000738985 (1539 . 520) (13100 . 7508) (171211 . 33823)) => 13343712+5139072 bytes in cons cells 2779488+240 bytes in symbols 4640+19640 bytes in markers 24624+8320 bytes in floats 733600+420448 bytes in intervals 5478752+1082336 bytes in string headers 4504763 bytes of string chars 4504763 bytes of vector slots Total bytes in lisp objects: 1034278620 (live 1027608564, dead 6670056) Buffer ralloc memory usage: 18 buffers 113342 bytes total (4948 in gaps) Size Gap Name 45482 0 *Compile-Log* 43734 1852 *Proced* 7714 771 .diary 6742 111 *Messages* 2039 204 *g scratch* 596 59 *Calendar* 594 59 *shell* 568 1570 *Buffer Details* 362 36 *Warnings* 322 32 *completion-save-buffer* 191 20 *scratch* 81 20 *Shell Command Output* 42 20 *code-conversion-work* 12 20 *Echo Area 0* 9 20 *dtk-scratch-buffer* 0 20 *Minibuf-1* 0 20 *Minibuf-0* 0 20 *Echo Area 1* -- -- --