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:15:29 -0500 Organization: Red Hat Message-ID: <9d38c8f6-f14a-39b5-5ed7-3da8b718035b@redhat.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> <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> <83lfemolvs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6713"; 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, trevor@trevorbentley.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 08 23:50:42 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 1kmlog-0001eh-5l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 23:50:42 +0100 Original-Received: from localhost ([::1]:38316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmlof-0000lH-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 17:50:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmlH8-0000c8-CM for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 17:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmlH8-0007ER-5N for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 17:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmlH7-00053C-W1 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 17:16: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:16: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.160746573919380 (code B ref 43389); Tue, 08 Dec 2020 22:16:01 +0000 Original-Received: (at 43389) by debbugs.gnu.org; 8 Dec 2020 22:15:39 +0000 Original-Received: from localhost ([127.0.0.1]:60037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmlGl-00052W-Bz for submit@debbugs.gnu.org; Tue, 08 Dec 2020 17:15:39 -0500 Original-Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmlGi-00052M-Q8 for 43389@debbugs.gnu.org; Tue, 08 Dec 2020 17:15:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607465736; 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=SYQISvuWzpsKbu2O+mIUa7Ul8mL6G37ESQyD4zu8h/w=; b=V+AK74X7SbAIF7hjR5HLpalx5vYWVU1prEg3llWMgmFAQDwfwyeulg9YbskMuSq9dOXKKr CJy06+hY7Um+1LG+wIQ01YKbQfKwr+CYKV24kEcklZ2P8wG/Wxs3T0ZOtQ/EK4dBTuj0Br WR2lqllEPQHcfBKT4Ee+QiridooaKAw= Original-Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-263-EO9wMjjaMFufKtvssuIJ8Q-1; Tue, 08 Dec 2020 17:15:32 -0500 X-MC-Unique: EO9wMjjaMFufKtvssuIJ8Q-1 Original-Received: by mail-qt1-f197.google.com with SMTP id n95so14960338qte.16 for <43389@debbugs.gnu.org>; Tue, 08 Dec 2020 14:15:32 -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=SYQISvuWzpsKbu2O+mIUa7Ul8mL6G37ESQyD4zu8h/w=; b=hJUr1SfMtnN1grqns+knU+yI3Z2/dX2rB5RkgdgcaOrkhAKU4pkrJNsLocgS+rz5gV 2Y4TPDB49Z+vV4Cm51j7h1yrk7UIn7ow6Qxlv9j149ixt5G7gfp5c8+j2ZFj9cGTqsjP n7qLj4+rE3kjjd/FM/2AbjrKtLlJsBnloJozFISYHtERTBsfJAQbgK4o7cOp3kANfy4l d4RzMXUvE+MobjQ4UhBDU9/RaiDH0ccQQCppO/11nzEPf09iEnXB9IW/qdXcpyt0MBvG RA/+8gTJKtrY2ACMxAgBtfBEy1GfRKGtOd6UHUzbZk0c9IXL78k5oUgGKgf3Uy3jOLiA FwBQ== X-Gm-Message-State: AOAM532a70wcWsKB/d+RZPt36rdEhoOALWbSQkkP/dlMibGu6EeQbU4Q u0EEpM7XftHlPL4ZeQtcQcLsWk3TYYHam/Up+UI0XdRg0WmkATS3ZZ4zqgRvjY2bYkq7zqRkirZ xe62j88wKsE3ZdNg= X-Received: by 2002:a05:620a:4054:: with SMTP id i20mr7660805qko.72.1607465731706; Tue, 08 Dec 2020 14:15:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwuoYv9/vTk3+d5RiVJyydFvNdiQP2qfSKgeR95xgN/FoTzFFfps4td6PiOabssNVrWDwnEA== X-Received: by 2002:a05:620a:4054:: with SMTP id i20mr7660776qko.72.1607465731461; Tue, 08 Dec 2020 14:15:31 -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 76sm5798qkg.134.2020.12.08.14.15.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Dec 2020 14:15:30 -0800 (PST) In-Reply-To: <83lfemolvs.fsf@gnu.org> 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:195456 Archived-At: On 11/27/20 10:33 AM, Eli Zaretskii wrote: >> Cc: trevor@trevorbentley.com, bugs@gnu.support, fweimer@redhat.com, >> 43389@debbugs.gnu.org, dj@redhat.com, michael_heerdegen@web.de >> From: Carlos O'Donell >> Date: Fri, 27 Nov 2020 00:04:56 -0500 >> >> lisp_align_malloc (alloc.c:1195) >> Fcons (alloc.c:2694) >> concat (fns.c:730) >> Fcopy_sequence (fns.c:598) >> timer_check (keyboard.c:4395) >> wait_reading_process_output (process.c:5334) >> sit_for (dispnew.c:6056) >> read_char (keyboard.c:2742) >> read_key_sequence (keyboard.c:9551) >> command_loop_1 (keyboard.c:1354) >> internal_condition_case (eval.c:1365) >> command_loop_2 (keyboard.c:1095) >> internal_catch (eval.c:1126) >> command_loop (keyboard.c:1074) >> recursive_edit_1 (keyboard.c:718) >> Frecursive_edit (keyboard.c:790) >> main (emacs.c:2080) >> >> There is a 171MiB's worth of allocations in that path. > > Are there chains of calls that are responsible for more memory > allocated than 171MB? Yes, you can view them all yourself, just fetch the massif data and use massif-visualizer to view the data: http://trevorbentley.com/massif.out.3364630 -- Cheers, Carlos.