From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos O'Donell Newsgroups: gmane.emacs.bugs Subject: bug#43389: 28.0.50; Emacs memory leaks using hard disk all time Date: Tue, 8 Dec 2020 17:12:41 -0500 Organization: Red Hat Message-ID: <7e0ce46f-ccb3-ae85-c553-75bd3b487677@redhat.com> References: <83y2j0qb2v.fsf@gnu.org> <83blfovzxz.fsf@gnu.org> <87o8jnu5f2.fsf@mail.trevorbentley.com> <83o8jmu49z.fsf@gnu.org> <522e3cc0-c563-3308-7264-1b09cd5e264b@redhat.com> <87o8jltglg.fsf@mail.trevorbentley.com> <43b8f55b-d201-76e0-2d19-d97dec8798aa@redhat.com> <87im9ttfeg.fsf@mail.trevorbentley.com> <399d4681-940a-c782-b91e-750e62840cb6@redhat.com> <83pn40qkyb.fsf@gnu.org> <418751f6-41be-a5e2-908a-ea4196d5fb9b@redhat.com> <83y2inq2sp.fsf@gnu.org> <60253612-49f0-a1aa-b9e6-39cfef8d62b5@redhat.com> <83mtz3p7qy.fsf@gnu.org> <83lfenp78f.fsf@gnu.org> <83h7pbp5wh.fsf@gnu.org> <83v9dpn9em.fsf@gnu.org> <87sg8ts766.fsf@mail.trevorbentley.com> <87pn3usr13.fsf@mail.trevorbentley.com> <87eek0rmqa.fsf@mail.trevorbentley.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1615"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 Cc: fweimer@redhat.com, 43389@debbugs.gnu.org, bugs@gnu.support, dj@redhat.com, michael_heerdegen@web.de To: Trevor Bentley , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 08 23:13:22 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 1kmlEY-0000JB-7x for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 23:13:22 +0100 Original-Received: from localhost ([::1]:41220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmlEX-0007CA-98 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 17:13:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmlEE-0007AW-16 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 17:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmlED-00068s-Pj for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 17:13:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmlED-0004xj-JW for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 17:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Carlos O'Donell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 22:13: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.160746557719062 (code B ref 43389); Tue, 08 Dec 2020 22:13:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 8 Dec 2020 22:12:57 +0000 Original-Received: from localhost ([127.0.0.1]:60031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmlE8-0004xN-S0 for submit@debbugs.gnu.org; Tue, 08 Dec 2020 17:12:57 -0500 Original-Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:34900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmlE6-0004xF-7H for 43389@debbugs.gnu.org; Tue, 08 Dec 2020 17:12:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607465574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8gcuNkyLdtDKOIFnzW1lbwsv0bfS5ZmNa7pMf8DF7ws=; b=Sn/RGLWKtJn2arq7tZwKo1yTAZbAOrXjNRN8EyPENLcb1U8EGF3xsYNowEg7eKTAL4L2y8 grJbq1dHDLAIXfVhS2Hc5F2TK79p6/ltS33mfG7205/397TV9lY59TIQY8tw5ZpOrAAAEc s1PpkmS94Tmb5yaWMAMJ9yUTufzH/Bg= Original-Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-359-4vUq2VGQO-WOYxo4nVWSEQ-1; Tue, 08 Dec 2020 17:12:44 -0500 X-MC-Unique: 4vUq2VGQO-WOYxo4nVWSEQ-1 Original-Received: by mail-qk1-f198.google.com with SMTP id x74so6454561qkb.12 for <43389@debbugs.gnu.org>; Tue, 08 Dec 2020 14:12:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=8gcuNkyLdtDKOIFnzW1lbwsv0bfS5ZmNa7pMf8DF7ws=; b=uVxgZWIHRcW0qxBs9WuZVtFw79ZfQMCLu+PxIGKa/QDXWeM9LujVzE0sB9iHPkbp4t k7o2TFkn0tGU9wKRbpKOfsHuLy7hgz8tRU+hxZz5kVM4zXuxJx8C1GB3slgGSRkWl5uu 3wjwkO85ec0+fudWZOOMdMtsBSNPcz9HnDqbAc//dJ53LyK2e660msONxV8QAhXV1w4z owChYoZXfTLd+40As9PwpRQWkBC1KIlISBG5K1WpkDSUtxIfrnQpHVpSCWkmO45fpJ3f zFr1PQWmb9kO6GNTLSfqXPmOW4qAcK7UFIePQSrRa4lwW6k/dQV+zj9HKcwLuWQW43Z3 k7lQ== X-Gm-Message-State: AOAM531le1l1xV8mHP2HWERCAhlwZIgOrluwUjuClpIcPJmYxl56HYxV ITalvOClyzo84qy/ztHawwTHWPfGzEGCmXxHy2JTxJYIFG2lRcOYC7moPBx4YqWDPQFcB9lcZXI gIvdyvJILBbIv4VQ= X-Received: by 2002:ae9:e007:: with SMTP id m7mr32814302qkk.220.1607465564133; Tue, 08 Dec 2020 14:12:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUoSxLkQ5W755wjCYrb2d4gcrGA5D4Hw6s+C2+zSK+6ZrAtBjeOVPdmXT24vb+2JyLJqKF3A== X-Received: by 2002:ae9:e007:: with SMTP id m7mr32814275qkk.220.1607465563908; Tue, 08 Dec 2020 14:12:43 -0800 (PST) Original-Received: from [192.168.1.16] (198-84-214-74.cpe.teksavvy.com. [198.84.214.74]) by smtp.gmail.com with ESMTPSA id e7sm5435qkn.117.2020.12.08.14.12.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Dec 2020 14:12:43 -0800 (PST) In-Reply-To: <87eek0rmqa.fsf@mail.trevorbentley.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=carlos@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US 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:195446 Archived-At: On 12/8/20 4:50 PM, Trevor Bentley wrote: > Trevor Bentley writes: > > I'm back with 5 mtraces: > > https://trevorbentley.com/mtrace/ > > Keep in mind that these things compress well, so the largest one is on the order of 45GB when decompressed. > > These are from various emacs instances, some running the emacs-slack package and others just editing elisp code.  All inflated to several gigabytes of heap over 1-4 days. > > Log files similar to the ones I've been posting in this thread are in the archives.  I don't think there's any point of including them here anymore, as they're all about the same. > > I've been too busy to modify emacs to print garbage collects, but these still show really long (garbage-collect) calls, often exceeding 15 minutes. > > Last thing: I've had one unused (graphical) emacs session running for 16 days now, minimized.  It's still at 57MB RSS.  I can definitively say that the leak doesn't occur unless emacs is actively used, for all the good that does us. I'm fetching this trace for analysis: https://trevorbentley.com/mtrace/mtrace9.tar.bz2 -- Cheers, Carlos.