From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#38345: 27.0.50; Permanent increase in memory consumption after opening images (or pdfs) Date: Sat, 23 Nov 2019 23:12:47 +0800 Message-ID: <87mucm1v9s.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <87sgme1ww7.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <87eexylkch.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20779"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38345@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 23 16:16:54 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1iYX9a-0005FG-J6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 16:16:54 +0100 Original-Received: from localhost ([::1]:59432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYX9Y-00023M-QK for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 10:16:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52111) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYX9N-00023F-Km for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 10:16:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYX9M-0005nc-K9 for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 10:16:41 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48783) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYX9M-0005nW-Gi for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 10:16:40 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iYX8l-0004PU-Ip for bug-gnu-emacs@gnu.org; Sat, 23 Nov 2019 10:16:34 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2019 15:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38345 X-GNU-PR-Package: emacs Original-Received: via spool by 38345-submit@debbugs.gnu.org id=B38345.157452211916890 (code B ref 38345); Sat, 23 Nov 2019 15:16:03 +0000 Original-Received: (at 38345) by debbugs.gnu.org; 23 Nov 2019 15:15:19 +0000 Original-Received: from localhost ([127.0.0.1]:57603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYX7U-0004NN-HB for submit@debbugs.gnu.org; Sat, 23 Nov 2019 10:15:13 -0500 Original-Received: from mail-pl1-f171.google.com ([209.85.214.171]:37815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYX7L-0004NB-ND for 38345@debbugs.gnu.org; Sat, 23 Nov 2019 10:14:36 -0500 Original-Received: by mail-pl1-f171.google.com with SMTP id bb5so4515268plb.4 for <38345@debbugs.gnu.org>; Sat, 23 Nov 2019 07:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=b1yGj6onqOXBbc6stLZi3fIMV4pFCeLd2Eu9iNHuKVM=; b=SUxAEeLO/iHVeXH/RP2dkSPxWt1Adjmj2JCfvKYoYEWG8x/jZw12jkgow/K4z3bLf4 LYOl9eLOH5dcIXK1ZbUmB1yE+BnGGRDAvxi9rrR/3sDgf2SWWhIr8genDxFwSHambe79 jDt/Of4CmgznYBRaGz0y6rBui6dtq+0SogDuCzdJyFL9GTS08VWZiwO+No4Fjz+Jauej lO5wOn5ef1PEZbPzARQYI3AdO1bWtdFukWntnnjSRxKnN+3ZmAJmSrRNq5vsALQPbvQp rvqoJ7FuyFWD7JKNY57gMbvNxaS+uSQH8OVEzlsvhUv3tR5R8SoqnE/53+sebFrER+n3 zwpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=b1yGj6onqOXBbc6stLZi3fIMV4pFCeLd2Eu9iNHuKVM=; b=nleexUiFEqDiOn7hRHtw6RvprhVx7F/DIRpyEdr1/Um/TZPqGragcjOpvYd31vh+qf +SNLFYwzI2ZOXzn/kiD9O0Ovvy/vmsNyQtICJlrZJ9OJg3iGy4Cec0vCb7UiOlyKIZTH 5YpXwXU9Ehs4WHCpINHI56TZU+gqfjYLyKmPQ9SH3NbaVo/inZ1p/YtXxE+2ZqQCB9fn 40SeE1sd2onGLPq+gff8E6tCCw5ze3B/1XiGEZmLkmEtffyFi2MEe29R6ptyoTAImBmD leFW7XBjkTZSTkffML7eyGd4ycmbghGMxpXQ8ii78ga5PkkJVMAVgvKxMNe0M8DXmojj OQPg== X-Gm-Message-State: APjAAAVvJHIffk21C0dKFdibvsveMDTegnxCqL/ZREmYK5VAkh4WVzNa L5D0Q6VBNaWa0eQiPFTBhXo= X-Google-Smtp-Source: APXvYqzs+YzknstJoT98ocLFPcpdvk28120kMTVAVLSy3i1fYjVdne2450gqFMfupD5lHMQHCFRdyg== X-Received: by 2002:a17:90a:850c:: with SMTP id l12mr26935404pjn.16.1574522069581; Sat, 23 Nov 2019 07:14:29 -0800 (PST) Original-Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id r16sm2413142pgl.77.2019.11.23.07.14.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2019 07:14:29 -0800 (PST) In-Reply-To: <87eexylkch.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172311 Archived-At: > If you say > > M-: (clear-image-cache) > > is the memory released? The command is called in the code I provided. When I call it manually, I can see that some part of memory is being released. However, it is just a small fraction. Best, Ihor Lars Ingebrigtsen writes: > Ihor Radchenko writes: > >> Recently, I have noticed that my emacs tends to increase its memory >> usage up to over 1.5Gb after I open a large number of pdf documents. It >> is understandable since some of the pdfs can be quite large. However, >> the problem is that the memory does not seem to be released even after I >> close all the pdf buffers. > > If you say > > M-: (clear-image-cache) > > is the memory released? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no