From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: memory leaks Date: Sun, 13 Sep 2020 17:14:50 +0300 Message-ID: <83a6xtdaqt.fsf@gnu.org> References: <835zlntmjk.fsf@gnu.org> <8336grtjak.fsf@gnu.org> <83zh5vcdx5.fsf@gnu.org> <878sde6c5i.fsf@gmail.com> <83imcidcfp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15197"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 13 16:15:16 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kHSmi-0003rj-7c for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Sep 2020 16:15:16 +0200 Original-Received: from localhost ([::1]:37974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHSmh-0007Xl-AB for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Sep 2020 10:15:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHSmH-0007Xe-TO for help-gnu-emacs@gnu.org; Sun, 13 Sep 2020 10:14:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58516) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHSmH-0003gZ-JX for help-gnu-emacs@gnu.org; Sun, 13 Sep 2020 10:14:49 -0400 Original-Received: from [176.228.60.248] (port=2863 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kHSmG-000899-V5 for help-gnu-emacs@gnu.org; Sun, 13 Sep 2020 10:14:49 -0400 In-Reply-To: (message from Madhu on Sun, 13 Sep 2020 08:47:29 +0530) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124045 Archived-At: > From: Madhu > Date: Sun, 13 Sep 2020 08:47:29 +0530 > > > Please don't leave such problems unreported. They will not fix > > themselves. > > The problem is that there is nothing to report except that the RSS is > growing unreasonably. In normal operation with all my packages loaded > emacs wouldn't go beyond around 500M RSS even when running for a week. When you file a bug report, Emacs collects important information about your build and the environment in which you run Emacs. That already tells the Emacs developers a lot, and can give ideas regarding the possible reasons. Then I suggest to tell in your report how many buffers you have in that session, and what is their total size. And finally, I'd encourage you to try to describe your use patterns, especially regarding operations that could require significant amounts of memory: visiting large file, loading many fonts, creating large buffers that don't visit files, etc. If you can afford keeping notes about what you did immediately prior to RSS becoming significantly larger, that is even better. > ATM I have a gtk emacs instance that is running at ~900M RSS, which may > be an early stage. If you have any suggestions on how to go about > debugging GC - it would help in submitting a useful bug repoprt. I don't think the problem is in GC, and the information about that is part of the info collected by report-emacs-bug anyway. Thanks.