From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Trevor Bentley Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks using hard disk all time Date: Wed, 25 Nov 2020 19:51:39 +0100 Message-ID: <87o8jltglg.fsf@mail.trevorbentley.com> References: <83y2j0qb2v.fsf@gnu.org> <831rgppg3w.fsf@gnu.org> <83zh3czbvz.fsf@gnu.org> <83blfovzxz.fsf@gnu.org> <87o8jnu5f2.fsf@mail.trevorbentley.com> <83o8jmu49z.fsf@gnu.org> <522e3cc0-c563-3308-7264-1b09cd5e264b@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8467"; mail-complaints-to="usenet@ciao.gmane.io" Cc: fweimer@redhat.com, 43389@debbugs.gnu.org, dj@redhat.com, michael_heerdegen@web.de To: Jean Louis , Carlos O'Donell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 19:52:23 2020 Return-path: Envelope-to: geb-bug-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 1khztu-00025n-79 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 19:52:22 +0100 Original-Received: from localhost ([::1]:44586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khzts-0002j4-Qw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 13:52:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khztc-0002iq-80 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:52:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khzta-0004lA-2n for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:52:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khzta-00062y-0O for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 13:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Trevor Bentley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2020 18:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43389 X-GNU-PR-Package: emacs Original-Received: via spool by 43389-submit@debbugs.gnu.org id=B43389.160633030823222 (code B ref 43389); Wed, 25 Nov 2020 18:52:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 25 Nov 2020 18:51:48 +0000 Original-Received: from localhost ([127.0.0.1]:36977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khztL-00062U-M4 for submit@debbugs.gnu.org; Wed, 25 Nov 2020 13:51:47 -0500 Original-Received: from mail.trevorbentley.com ([37.187.5.80]:57973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khztK-00062I-EH for 43389@debbugs.gnu.org; Wed, 25 Nov 2020 13:51:46 -0500 Original-Received: from localhost (c188-150-0-48.bredband.comhem.se [188.150.0.48]) by mail.trevorbentley.com (Postfix) with ESMTPSA id 7B0E8603B5; Wed, 25 Nov 2020 19:51:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.trevorbentley.com; s=mail; t=1606330300; bh=qMGI9uABB0eNByaZdFw+CeM4v45pJLTLPzIYF4CUxDQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Fz6rU1UOxa0BwaR+IKeoVCf+mQmSSMzIwSTi/8uhjbvJEWPh8HHxJIvfpFHw9gcNw ogZD1VyK3v/sfUZ4xKzl5Hz0E4lXZzherE2QGh1ERhNduGr9JEWXgt9ZR1U4XSN89D QqvJmY0wuEa065c007ib6enrDwKC3dRTM3CG8cPw= In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194220 Archived-At: Jean Louis writes: >> This will use libgcc's unwinder to get a copy of the malloc >> caller address and then we'll have to decode that based on a >> /proc/self/maps. > > I will also try that in the next session. As will I, but probably won't set it up until this weekend. > One problem I have here is that since I run this session I have > not get any problem. My uptime is over 2 days, I have not > changed my habbits of work within Emacs and my swap remains > under 200 MB and only 10% memory used by Emacs, normally 80-90% > > Almost by the rule I could not run longer than 1 day until I > would get swap of about 3 GB - 4 GB and not responsive Emacs. > > Can it be that libmtrace.so could prevent something happening > what is normally happening? I see high variation in how long it takes to hit it on my machine. The shortest was after ~4 hours, average is 1.5 days, and the longest was 5 days. Perhaps you're seeing the same. I also still hit it while running under Valgrind; the whole emacs session was slow as hell, but still managed to blow out its heap in a few days. Of course, libmtrace could be different, but at least it doesn't seem to be a heisenbug. -Trevor