From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: George Plymale II Newsgroups: gmane.emacs.devel Subject: Re: Does Emacs return memory to the system on Mac OS X or *BSD? Date: Wed, 10 May 2017 12:09:36 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494432776 29257 195.159.176.226 (10 May 2017 16:12:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 May 2017 16:12:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 18:12:52 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 1d8UEN-0007Uj-V4 for ged-emacs-devel@m.gmane.org; Wed, 10 May 2017 18:12:52 +0200 Original-Received: from localhost ([::1]:43657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8UET-0006ye-K8 for ged-emacs-devel@m.gmane.org; Wed, 10 May 2017 12:12:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8UBK-0005MN-EL for emacs-devel@gnu.org; Wed, 10 May 2017 12:09:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8UBH-0001BS-1q for emacs-devel@gnu.org; Wed, 10 May 2017 12:09:42 -0400 Original-Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:34109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8UBG-0001BO-UD for emacs-devel@gnu.org; Wed, 10 May 2017 12:09:38 -0400 Original-Received: by mail-qt0-x243.google.com with SMTP id l39so36837qtb.1 for ; Wed, 10 May 2017 09:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=southernohio.net; s=google; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=eFKf0n/NJFMdcWeHwSNxYBXMv4pw2FBiiz/MP9MkWws=; b=Az65ITriLegZdjkAa1rZp1/5XUIJT5O/fB+3n7e/02CXC3ZjzR2C5DRgyCC6uM/cQa ZyKedCuZgjrxqzMUNrD5+fcYnpnYDTrqEXKEHWsJsmQMFnqTfgGcBvFTD9U4wSZvxpsV YFEHqIBStDVtuVDYcMDK3SYpFzcUIOcF5njVs= 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:date:message-id :mime-version; bh=eFKf0n/NJFMdcWeHwSNxYBXMv4pw2FBiiz/MP9MkWws=; b=MmLrFyNO24Zv6cy50e8qWeUASEcI8EHbJR4Zy7AggJI3/tEopsFzdNADKtA9o9P/lH a+RiZu4g2Q4Tn/lVu11PLz18vAb4VnRY11cGXAOdA+UqUOAvI2lZd/H5cadp5zjBN999 K6dnxff5ApNMjIEOQYP6LG78dX5iUYGBgYdSCpH/q2aUiVIJvqZv4QmIagZmdiXu5tAe GXFDH+ejfbvpGcF83VeYSn0wgs7Hp6YVYrFCANWLnHFSR0rggY5ZRrHJEhBFmn/JzO3w euJ/SUyVDfT4jELUM06HrVTSTky7NktUIQzuOOwA9RnxYyltdwu9po7q0Htlrz+iYt+D VnVw== X-Gm-Message-State: AODbwcCDM0XhUkv0Qz5JlsXMieB99n01dOzdHSHKoMUvFS14ESx5W5Sc Ho/k7XYG+GBaq1dL X-Received: by 10.237.37.155 with SMTP id x27mr6714159qtc.181.1494432578227; Wed, 10 May 2017 09:09:38 -0700 (PDT) Original-Received: from lehi.dev.orbitalimpact.com (ip-29-210-239-173.east.us.northamericancoax.com. [173.239.210.29]) by smtp.gmail.com with ESMTPSA id n42sm2524098qta.17.2017.05.10.09.09.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 May 2017 09:09:37 -0700 (PDT) In-Reply-To: (message from Stefan Monnier on Wed, 10 May 2017 08:06:24 -0400) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 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:214764 Archived-At: > I didn't say that it's what happens. I just pointed out that if this > happens, then the answer to your question would be a resounding "yes" > even though I'm pretty sure you wouldn't be satisfied with the > actual behavior. Ok, thanks for the clarification. > If it's a single 1GB chunk, it'll most likely be returned (tho there are > unlucky build-configurations where that might happen, and I believe such > situation has unwittingly been in common use for Emacs-25.1 under > GNU/Linux, IIUC). Thanks for the information; that's good to know. > In the reddit thread, the 1.5GB is completely unexplained, so it's hard > to say anything intelligent about it. Actually, the author stated in a another post, (https://www.reddit.com/r/emacs/comments/5rswpn/freeing_dead_heap/ddfil8v/) in reply to the parent of the linked thread, that he is running on Linux and had been doing some heavy duty web scraping via EWW and had some PDFs open.