From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Danny YUE Newsgroups: gmane.emacs.help Subject: Re: Emacs eats up my memory while viewing images Date: Thu, 08 Jun 2017 23:54:09 +0800 Message-ID: <87mv9ih3vi.fsf@gmail.com> References: <87shjau1x0.fsf@gmail.com> <87wp8mcyxr.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496937428 20909 195.159.176.226 (8 Jun 2017 15:57:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Jun 2017 15:57:08 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.2.1 Cc: "help-gnu-emacs@gnu.org" , Danny YUE To: Alexis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 08 17:57:04 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dIzo0-000552-FN for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jun 2017 17:57:04 +0200 Original-Received: from localhost ([::1]:50329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIzo4-0007UP-0c for geh-help-gnu-emacs@m.gmane.org; Thu, 08 Jun 2017 11:57:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIznf-0007UK-B0 for help-gnu-emacs@gnu.org; Thu, 08 Jun 2017 11:56:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIznc-0001Qk-GK for help-gnu-emacs@gnu.org; Thu, 08 Jun 2017 11:56:43 -0400 Original-Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:35776) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIznc-0001QF-9b for help-gnu-emacs@gnu.org; Thu, 08 Jun 2017 11:56:40 -0400 Original-Received: by mail-pf0-x242.google.com with SMTP id u26so5597396pfd.2 for ; Thu, 08 Jun 2017 08:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=1b/ZKACMqqnnnToJ6aMo9PhI7x2HQpQiAVtjU/B8zn4=; b=dOPO85eGX0iWECUnMlj01ZInsyVqWuvyeGgmk4a+oEG+66j1h+EercCyWACcno+LNm BSwrAb+WtXa6OcPO03zQxWWTx66YJe3z0G3nGTpRBwx2G26zt2sLewyb9rfXId/+X7HQ Iv1Q4IW0ImrGzH49GBxQJge/xDK6fRe0uf/aOVtFQR9MrWjHjQRZAsWg8N+6sYvC/Wsx lEPjG+TZoj+mzMkqWqv9EPj3modbxKW04pjujM4AB8XEqDmfZ/hSsDfiaF0c3VodbLhf 9wOjRs1zIpdS4kR/7GV0C8cC4BB0BgStI7hYhz3IluSZkscFurmAQjw97uRZViJmwUbj +cnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=1b/ZKACMqqnnnToJ6aMo9PhI7x2HQpQiAVtjU/B8zn4=; b=ZkDNYQJoM+SKLM9awJ9/QwDPuwXlQq7Bdn6GRjquhnaiQzkVzsV1NROILx9fDxbTcC bdHPa3bp9d8kKAmfU+I+X31ru7zG3KD0PppOMON5oRrlj+Zj+DzkmL/aP3i1MCa9cIhq KXw3DW4tGDh5yIopEtagB6sdIJcK7IcYnGjZOxmU2kCc7n3CmCEvIZQbgZfCmbecbxyb ASMOnXp0PAhRCWjGwpKIS8w7DptCd46c0Kx/pz5jgEVOBjaXOwCpznexdNxw6H4KERW5 l2t+ywJ2J/92C1oATvzWpy2E9bZbE1vDjYubpzx9nFYUFZA2n/E6LgZO+Za8F5vgJCRo K3+A== X-Gm-Message-State: AODbwcCplaOxF3t8IV2XsiWp8qFsYRpAoA3vL8GJPKOxEppfNb/igDvQ tPz9li35zGgeBg== X-Received: by 10.84.130.65 with SMTP id 59mr35690821plc.233.1496937399257; Thu, 08 Jun 2017 08:56:39 -0700 (PDT) Original-Received: from localhost (23.83.238.120.16clouds.com. [23.83.238.120]) by smtp.gmail.com with ESMTPSA id o8sm13138745pfj.65.2017.06.08.08.56.36 (version=TLS1_2 cipher=AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 08:56:37 -0700 (PDT) In-reply-to: <87wp8mcyxr.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::242 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113404 Archived-At: On 2017-06-08 14:54, Alexis wrote: > Danny YUE writes: > >> I suspect there is something wrong with it, because when I press >> "N" >> for `image-next-file`, the old image file is removed from buffer >> list, >> thus the memory consumed by it *should* be released... > > Not necessarily; it depends on the OS. Some only mark memory as > again available after the application exits. What OS are you > running > Emacs on? > > > Alexis. I am running Emacs on a Gentoo system. Well, customized kernel, hard to say. I forgot to mention that more than 1 GB (out of 8GB) memory was released after I killed Emacs. Is that really *normal*? But thanks, you inspired me ;-) Danny