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: Does Emacs return memory to the system on Mac OS X or *BSD? Date: Tue, 09 May 2017 19:03:51 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494383277 4492 195.159.176.226 (10 May 2017 02:27:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 May 2017 02:27:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 04:27:48 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 1d8HLw-00011P-JO for ged-emacs-devel@m.gmane.org; Wed, 10 May 2017 04:27:48 +0200 Original-Received: from localhost ([::1]:40113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8HM2-0005Mh-6Z for ged-emacs-devel@m.gmane.org; Tue, 09 May 2017 22:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8EBC-0001GD-Nb for emacs-devel@gnu.org; Tue, 09 May 2017 19:04:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8EB9-0003Qj-GX for emacs-devel@gnu.org; Tue, 09 May 2017 19:04:30 -0400 Original-Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:36406) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8EB9-0003Qf-C7 for emacs-devel@gnu.org; Tue, 09 May 2017 19:04:27 -0400 Original-Received: by mail-qk0-x241.google.com with SMTP id y128so2270993qka.3 for ; Tue, 09 May 2017 16:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=southernohio.net; s=google; h=from:to:subject:date:message-id:mime-version; bh=loEXE//MqrUiWY1eOvXm7erbiPy0szpNQ9Qn0zH7IiE=; b=a7kKOoq5DX4f9gOpBegj4YB9o6xmK69Ix8BKyYEplrXTcuqoOBoUmLB+nb3nqo7vlx oIBPFX86jvjpqDf023Qw9oBqG0wJQoJpTICnmzQklRNHDK3rjp3/KU3TFxmbjv5U0D+Z BNIk6zRmi06RU5OHyDP0XAZEZwZDk57AJAMG8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=loEXE//MqrUiWY1eOvXm7erbiPy0szpNQ9Qn0zH7IiE=; b=LUJwMvnhIrXzM2JUCnosLpmUjvwjoG4iyNuTog0CaoewDLTUBtsTO3+HgxemHZ0US7 a8KVzEhoQC9528IJtFIOsSfY/KQdirbOD7kaYzmHI6K8JmLwK2KKTIcdZ5GulfqK7dWY oeUHjJbYu68bweoFPP2xX5yE+KKO7qA4sEy09Fl6RRebovKupQ2q4mcbSLM21MXLKalb YvAgW7so4m0b27W+Zw1KHqhHNs8Xyuxw4oQ7AbLbVDQEPGW1VvxovRaePI2BcbqcpXzm dzKftmJCg33i7fxOHkD4X929h1jZnhGRMwSNqtLb5pphdF37TJzFn+NdU6pXTRujTgoy 7Zmg== X-Gm-Message-State: AODbwcAZ/R6dtKTN+SzZXIb9V1KULNJa8c2BSkC6kMVf7ax6rTk3C33l itWswb0t0As9ySJ8 X-Received: by 10.55.14.11 with SMTP id 11mr2510317qko.209.1494371066427; Tue, 09 May 2017 16:04:26 -0700 (PDT) Original-Received: from lehi.dev.orbitalimpact.com (ip-24-210-239-173.east.us.northamericancoax.com. [173.239.210.24]) by smtp.gmail.com with ESMTPSA id r129sm915592qkb.16.2017.05.09.16.04.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 May 2017 16:04:26 -0700 (PDT) X-Google-Original-From: George Plymale II X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::241 X-Mailman-Approved-At: Tue, 09 May 2017 22:27:10 -0400 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:214733 Archived-At: Hi, So, this question is spurred by a discussion found in this reddit thread: https://www.reddit.com/r/emacs/comments/5rswpn/freeing_dead_heap/ddae477/ I'm curious as to whether Emacs returns memory to the operating system when running on Mac OS X or *BSD systems. As is made clear in the discussion, such things are system-dependent and there is no unified resource for which systems support this behavior and which ones do not. If no one here knows about this off the top of their head, which specific source file(s) can I browse to learn about this? Thanks.