From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.devel Subject: Re: Emacs memory management and sluggishness Date: Sun, 11 Aug 2019 17:30:56 -0300 Message-ID: <86imr3phq7.fsf@phe.ftfl.ca> References: <87k1c44n7y.fsf@telefonica.net> <83d0hwm0fc.fsf@gnu.org> <87ef2b4pti.fsf@telefonica.net> <83sgqrlim1.fsf@gnu.org> <8736ir3uj0.fsf@telefonica.net> <83imrmlw7y.fsf@gnu.org> <86blxakjrc.fsf@phe.ftfl.ca> <87ef25rhiu.fsf@telefonica.net> <8636illum6.fsf@phe.ftfl.ca> <87a7ctrgn2.fsf@telefonica.net> <86y30dkfgl.fsf@phe.ftfl.ca> <83zhkthagt.fsf@gnu.org> <86pnlpnrq2.fsf@phe.ftfl.ca> <83wofxgfm3.fsf@gnu.org> <86zhkh21px.fsf@phe.ftfl.ca> <837e7la2it.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="55730"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (berkeley-unix) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 11 22:31:53 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hwuVM-000EIy-MN for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2019 22:31:53 +0200 Original-Received: from localhost ([::1]:41636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwuVL-0007y9-3u for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2019 16:31:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51195) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwuUZ-0007xq-G2 for emacs-devel@gnu.org; Sun, 11 Aug 2019 16:31:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwuUW-0002a1-96 for emacs-devel@gnu.org; Sun, 11 Aug 2019 16:31:03 -0400 Original-Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]:38995) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwuUW-0002Zj-4x for emacs-devel@gnu.org; Sun, 11 Aug 2019 16:31:00 -0400 Original-Received: by mail-qt1-x841.google.com with SMTP id l9so100904887qtu.6 for ; Sun, 11 Aug 2019 13:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=aK7AGfoyCAeiDdRFdL361jtuLTy6wK81D4U2UO/CBhg=; b=IaxQVAqO3roNVTS5bBbIPUjyskKIZdCl7J7eN+y0JXg6xpw8NLsa9Oa7D0j6QTMJUh yWJbmZ3w/gIVIEiRkEjY3eoHz46TjlWk9YnYY1t1PjjGmaXS2AVfOoJW0icLOLIVvvlQ PHIm00KEursOGmVJaGcJBzXG194kueMrVnW9o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aK7AGfoyCAeiDdRFdL361jtuLTy6wK81D4U2UO/CBhg=; b=kl20M2ODnao0yZk/br5hrXSJ0JARrsQfwIWUCIiqrluUbDW1YB1wbuL0G0/5vVlFyU 9VYDIOjDGEstBtbsntmIiByHuPcmjeicUtzFABlQ29DtBLgFGvi9DAik+LTuqsZJCSYm OB5DniPM+CJYsRhsXeXmIhbMaTpUMSGp6LR1x5SMDMQhmEAlP1LWGNBDS8w3Bkk6owf7 SRipwin6WwKLaUpIiUtA9vrNdiPcOmEgpNYNjNb8OcF1LqoQrtK1DNV4N17pHpk+4j3z qoexx3p177aqRhXHPhD7M1D/riSPfjOG745zHIpAqvL376JyiRqxvlhMa67rGPdiEmki qryA== X-Gm-Message-State: APjAAAWqqLZcn1sG1YYlnNjxYSx/lMWkZiDCcUgGYa/JkeetRYTMdBFE z8ca+fgAN+Fva+8049RdEhgHq9TBEEs= X-Google-Smtp-Source: APXvYqyI+Cv3V+KFkehlcV3ymnew7TkWUwNGcUKeCgM8isBlNojJLvzuDNZIoJ+OSSWlCFhXtkHpsA== X-Received: by 2002:ac8:305b:: with SMTP id g27mr11810383qte.127.1565555458726; Sun, 11 Aug 2019 13:30:58 -0700 (PDT) Original-Received: from phe.ftfl.ca.ftfl.ca (drmons0544w-142-167-140-18.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.167.140.18]) by smtp.gmail.com with ESMTPSA id i5sm842587qti.0.2019.08.11.13.30.57 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 11 Aug 2019 13:30:57 -0700 (PDT) In-Reply-To: <837e7la2it.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Aug 2019 10:43:54 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::841 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239326 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> From: Joseph Mingrone >> Cc: ofv@wanadoo.es, emacs-devel@gnu.org >> Date: Fri, 09 Aug 2019 23:28:26 -0300 >> I reverted back to a commit from May 25 and I see a bit of sluggishness >> whenever the garbage collector does it's job, but the memory usage does >> not explode to several GB and take down the box. > Please state the commit to which you reverted, we have quite a few of > them on any given date. > Also, since you never opened a bug report, could you please show here > the details of your build as they are collected by report-emacs-bug? > Please do that both for the build that does and doesn't exhibit the > memory problems. >> If I can find some time, I will try to bisect commits to determine >> what change introduced the problem. > Thanks, that would help. > There have been changes recently to GC and hash-table management, > maybe they are responsible. But I find it strange that we don't have > reports about this across the board, which seems to hint that some > local config details or specific use patterns are also needed to > trigger the problem. For those interested, there is now a bug report. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37006 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKgBAEBCgCKFiEEVbCTpybDiFVxIrrVNqQMg7DW754FAl1QewBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUMHGpybUBmdGZs LmNhAAoJEDakDIOw1u+eulQP/RKkKlH5UYkccesacU1JCyIaRv8hnPTb9yg3+2ED HS+Ml4IdPtmiwloiyLYBW3i6EVtxqyRgLD6S708iL8sR0dQWNkJ1YNBrG5FyWwq6 t/RhvNLWc0LjAGE7pJfyO6Z0gybh0jjUnlVdsyiih+uZwO+kxN6zqvzlavUnhoPi wGIHzE2IVbTb/F5W/VynA3G8MpIqQq+DeJIdIPwoc77WQhSWDILFCnsh8GEvwvna 7u88ilnA8y6bOp6v+BIi6QvK6ZvAqy6YY6rkIBt2A//Ia+n21SrRx/ZPtCyHwaZS 8IQDsB6PVMgvitOFW7L8UiPNV6HRx2BiNAz1McSDDqvz//U+xZ/i7A9py+7jrXq5 ND7GR8jD5pVyN8/1i8NwCU/7npPC7Hm/t37dmTpLb4M88qPylxGAn4SNyMWq/e5z Z0R4e/n8nd69R1I/tTCPIEfHjDYVlwQaz2/OL8kgfT0wNlYkDggNGH5norhEGqzx ZasM1ymTbtH/fRc1IV/NEF+lpyZGo/YPzxkelGIVuWvEdZ2bjf7tVu04ZcXn6ByW cda+tsLkLI91X7by9hIbMsAVlcuSOzVaTrwL9sm2STuZkM4BBZEbcYY11D+q5qUz d/r0XsVfO4YHF6DD4VgofQIsQKfGdXCG6Ho4FPmemOA+SrbAdIYweK6iuXAI6D9p vXxX =jp80 -----END PGP SIGNATURE----- --=-=-=--