From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dima Kogan Newsgroups: gmane.emacs.devel Subject: Re: Debugging emacs memory management Date: Mon, 16 Feb 2015 23:59:23 -0800 Message-ID: <87fva5kltl.fsf@secretsauce.net> References: <87zj8l3r32.fsf@secretsauce.net> <87d25a52wf.fsf@secretsauce.net> <8361b2vr5m.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424160123 31901 80.91.229.3 (17 Feb 2015 08:02:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2015 08:02:03 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 17 09:01:53 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 1YNd6N-0004d8-QI for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2015 09:01:51 +0100 Original-Received: from localhost ([::1]:44169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNd6M-00031W-MF for ged-emacs-devel@m.gmane.org; Tue, 17 Feb 2015 03:01:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNd5z-0002lI-EA for emacs-devel@gnu.org; Tue, 17 Feb 2015 03:01:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNd5w-0005Xc-7g for emacs-devel@gnu.org; Tue, 17 Feb 2015 03:01:27 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNd5w-0005X0-4p for emacs-devel@gnu.org; Tue, 17 Feb 2015 03:01:24 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 6C5E520B3B for ; Tue, 17 Feb 2015 03:01:19 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 17 Feb 2015 03:01:19 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:references:from:to:cc:subject :date:in-reply-to:message-id:mime-version:content-type; s= smtpout; bh=paju4T4W+TDtFmEayAiYQa4zLac=; b=KygJ2j++HR3r8D692nc+ /AAets1Wx3rApSKmcPnA1LvwvOoVaItisWn98ioS6t2jrPzjQggfYnAhNDfXJ9Pb 2mBD+KLxmWAlM5ul6ilSUlY4q//kdqgThilUfFjrpxmCDthFWoyzmmFkt+EikCM9 o5zwHFyDCBXcsX89iSp0ZrU= X-Sasl-enc: zjzc1q7Oo5WQFUI+5wnDf1JWO2266Co2zs0Ph9ZM3y8G 1424160079 Original-Received: from shorty.local (unknown [76.91.145.213]) by mail.messagingengine.com (Postfix) with ESMTPA id 88793C00295; Tue, 17 Feb 2015 03:01:19 -0500 (EST) Original-Received: from ip6-localhost ([::1] helo=shorty) by shorty.local with esmtp (Exim 4.84) (envelope-from ) id 1YNd6k-0005pY-9M; Tue, 17 Feb 2015 00:02:14 -0800 In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 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:183186 Archived-At: Stefan Monnier writes: >> It probably means that the leak is not in Lisp objects, but in memory >> allocated via xmalloc for other means. > > IIUC it can also be memory allocated with plain old malloc by library code. Just so I'm clear, is it normal for almost all the consumed memory to be "heap" memory, as I'm observing?