From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.devel Subject: Re: Does Emacs return memory to the system on Mac OS X or *BSD? Date: Sat, 13 May 2017 19:07:01 +0200 Message-ID: <87y3u0wuru.fsf@luca> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494695251 14844 195.159.176.226 (13 May 2017 17:07:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 May 2017 17:07:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: George Plymale II Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 13 19:07:24 2017 Return-path: Envelope-to: ged-emacs-devel@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 1d9aVo-0003iE-A5 for ged-emacs-devel@m.gmane.org; Sat, 13 May 2017 19:07:24 +0200 Original-Received: from localhost ([::1]:58350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9aVt-00019f-GZ for ged-emacs-devel@m.gmane.org; Sat, 13 May 2017 13:07:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9aVn-00019X-73 for emacs-devel@gnu.org; Sat, 13 May 2017 13:07:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9aVk-0007GW-0z for emacs-devel@gnu.org; Sat, 13 May 2017 13:07:23 -0400 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:44924) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d9aVj-0007AS-MJ for emacs-devel@gnu.org; Sat, 13 May 2017 13:07:19 -0400 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier (RZ/HT)] Original-Received: from localhost (ip5f5bded2.dynamic.kabel-deutschland.de [95.91.222.210]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 2BA85179C16F; Sat, 13 May 2017 19:07:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=hochschule-trier.de; s=default; t=1494695222; bh=YpItVqx6vhd3UUrf81/PeqQeSm0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=k/7WwDGz9TYTj4s8qNeh492kAtw7fhkzk0pbeS795GJ/+DNDY1M66PFWGiHpQMFc5 aJAL6GNShVwiu9PuSZQXVDFpiYpREXkfs2GT1vKKgFqAK4jEBCKtQyewJtTphprtxV jo0h0zG4Hx8QEKOkS7wf7ReeedEfu7yFVJhV6S24= In-Reply-To: (George Plymale, II's message of "Wed, 10 May 2017 12:09:36 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-Received-From: 143.93.54.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:214828 Archived-At: George Plymale II writes: > Actually, the author stated in a another post, [...] that he is [...] > doing some heavy duty web scraping via EWW and had some PDFs open. Opening and displaying many PDFs resp. pages in a relatively short time can use a lot of memory (I think around 1MB/page is not to far from the truth.). This is due to the fact that images are kept cached until they expire via image-cache-eviction-delay, which has a default value of 12min, I believe. Of course, this situation could be improved. I think this is true for both doc-view and pdf-tools. -ap