From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs memory management and sluggishness Date: Sat, 10 Aug 2019 10:43:54 +0300 Message-ID: <837e7la2it.fsf@gnu.org> 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> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="11739"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Joseph Mingrone Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 10 09:44:46 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 1hwM3R-0002uq-Hw for ged-emacs-devel@m.gmane.org; Sat, 10 Aug 2019 09:44:45 +0200 Original-Received: from localhost ([::1]:35276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwM3P-0007fg-Uj for ged-emacs-devel@m.gmane.org; Sat, 10 Aug 2019 03:44:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52711) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwM2h-0007fZ-M3 for emacs-devel@gnu.org; Sat, 10 Aug 2019 03:44:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hwM2h-0002iS-43; Sat, 10 Aug 2019 03:43:59 -0400 Original-Received: from [176.228.60.248] (port=1561 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hwM2g-0000O4-Gg; Sat, 10 Aug 2019 03:43:58 -0400 In-reply-to: <86zhkh21px.fsf@phe.ftfl.ca> (message from Joseph Mingrone on Fri, 09 Aug 2019 23:28:26 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:239290 Archived-At: > 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.