From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Memory usage report Date: Sat, 19 Sep 2020 12:18:37 -0400 Message-ID: References: <87lfh8kyot.fsf@gnus.org> <83k0ws5hzt.fsf@gnu.org> <87h7rwkxtk.fsf@gnus.org> <83imcb61p7.fsf@gnu.org> <871rizl5mf.fsf@gnus.org> <83r1qz48h3.fsf@gnu.org> <871rizjogr.fsf@gnus.org> <83pn6j45rr.fsf@gnu.org> <87wo0ri6kz.fsf@gnus.org> <83o8m34433.fsf@gnu.org> <87imcb43e3.fsf@localhost> <83k0wr4222.fsf@gnu.org> <87ft7f40p8.fsf@localhost> <83h7rv3xsc.fsf@gnu.org> <87wo0rdpud.fsf@localhost> <838sd6522b.fsf@gnu.org> <87tuvuehhq.fsf@localhost> <83wo0q2ohm.fsf@gnu.org> <87mu1lesy3.fsf@localhost> <87eemxeol1.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38823"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , larsi@gnus.org, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 19 18:54:50 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJg8Q-0009z4-0v for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Sep 2020 18:54:50 +0200 Original-Received: from localhost ([::1]:47988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJg8P-0006kD-2H for ged-emacs-devel@m.gmane-mx.org; Sat, 19 Sep 2020 12:54:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJfZW-0003ob-JD for emacs-devel@gnu.org; Sat, 19 Sep 2020 12:18:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:48777) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJfZS-00014j-Kz; Sat, 19 Sep 2020 12:18:46 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1AFC7441212; Sat, 19 Sep 2020 12:18:40 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id A6301441116; Sat, 19 Sep 2020 12:18:38 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1600532318; bh=NCGONQxxA/hPHe/VZrzaqU5e5UqrFmVK3Ip2dKIFMf8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dew1AKJcEKIBW3+MYAh+wMLlb41mCrtsoeEWt6ZlzRWraseO3pJ5gMwfV/NUuBX0S Df0G2iSUA3DxnHjLDNiCeWbcS8V3DC8WIyRnKYMcF1OOBFRHBY6aTTXYq5Um/4z22D KGenn2JaqFiPI4bb1VvBjxwR5JUMt1eu1KrAGV5v2orK1dnglYCFIRF0koSle9kzsw pnt/S7YYvFzA2DsE+OMQn3Ot/5z8n5POQCSFJTYGVYYRGH90aZP444YWSVyoRtQxqT LegOUtCFEuoCjTpuEhjex1LAc6hUB44pdC2OZUCpzj0VVAxA3KTbvI4oFIVn/l54Py OYCFqhAgw1kxA== Original-Received: from alfajor (unknown [45.72.232.131]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5A726120422; Sat, 19 Sep 2020 12:18:38 -0400 (EDT) In-Reply-To: <87eemxeol1.fsf@localhost> (Ihor Radchenko's message of "Sun, 20 Sep 2020 00:08:42 +0800") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/19 11:35:17 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256200 Archived-At: >> Personally, when that extra data is smaller than the Lisp heap, I don't >> care to know where it's spent. > > It indeed does not matter when the heap size is small. However, memory > usage tends to grow over time. My Emacs instance currently uses 976Mb > memory with 463MB in lisp objects and 25.8MB in buffers. The extra > non-lisp object size is almost same with the lisp object size (487.2MB). That's reaching the level where I'd begin to care about it, indeed. But being lazy, I'd wait to see a worse case being I investigate. The recent reports of 2GB memory use with 500MB of heap are the kinds of situations where the existence of a problem is much more clear. Stefan