From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Debugging emacs memory management Date: Sun, 15 Feb 2015 22:47:01 +0200 Message-ID: <8361b2vr5m.fsf@gnu.org> References: <87zj8l3r32.fsf@secretsauce.net> <87d25a52wf.fsf@secretsauce.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1424033250 9629 80.91.229.3 (15 Feb 2015 20:47:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 20:47:30 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Dima Kogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 15 21:47:24 2015 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 1YN666-0004Kp-Sx for ged-emacs-devel@m.gmane.org; Sun, 15 Feb 2015 21:47:23 +0100 Original-Received: from localhost ([::1]:36591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN666-0004EN-DM for ged-emacs-devel@m.gmane.org; Sun, 15 Feb 2015 15:47:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN65o-0004D9-Kq for emacs-devel@gnu.org; Sun, 15 Feb 2015 15:47:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN65j-0003f1-ST for emacs-devel@gnu.org; Sun, 15 Feb 2015 15:47:04 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:43510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN65j-0003en-Kk for emacs-devel@gnu.org; Sun, 15 Feb 2015 15:46:59 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NJT00E00YH31F00@mtaout29.012.net.il> for emacs-devel@gnu.org; Sun, 15 Feb 2015 22:42:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJT00EW6YVMQ900@mtaout29.012.net.il>; Sun, 15 Feb 2015 22:42:59 +0200 (IST) In-reply-to: <87d25a52wf.fsf@secretsauce.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:183123 Archived-At: > From: Dima Kogan > Date: Sun, 15 Feb 2015 12:28:33 -0800 > Cc: emacs-devel@gnu.org > > 1.20GB (+ 51.5MB dead) in heap > > Total in lisp objects: 1.31GB (live 1.25GB, dead 58.0MB) > > Buffer ralloc memory usage: > 122 buffers > 37.6MB total (64.9kB in gaps) > > ... > > > No significant difference is observed when I (garbage-collect). It looks > like the bulk of the memory is in the "heap". Is this meaningful to > anybody? Any insight greatly appreciated. It probably means that the leak is not in Lisp objects, but in memory allocated via xmalloc for other means.