From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Does Emacs return memory to the system on Mac OS X or *BSD? Date: Thu, 11 May 2017 12:52:03 -0600 Organization: XCP-1 Message-ID: <1381b1f3-5756-daa3-13d4-31e705aec28c@lanl.gov> References: <831srwbqz9.fsf@gnu.org> <83k25o9l11.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1494528834 6024 195.159.176.226 (11 May 2017 18:53:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 May 2017 18:53:54 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 Cc: theophilusx@gmail.com, georgie@southernohio.net, emacs-devel@gnu.org To: Stefan Monnier , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 11 20:53:49 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 1d8tDh-0001L5-8j for ged-emacs-devel@m.gmane.org; Thu, 11 May 2017 20:53:49 +0200 Original-Received: from localhost ([::1]:49671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8tDl-0002hA-1I for ged-emacs-devel@m.gmane.org; Thu, 11 May 2017 14:53:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8tD6-0002g5-IT for emacs-devel@gnu.org; Thu, 11 May 2017 14:53:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8tD3-0007lN-FQ for emacs-devel@gnu.org; Thu, 11 May 2017 14:53:12 -0400 Original-Received: from proofpoint8.lanl.gov ([204.121.3.47]:55303) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d8tD3-0007ig-4t; Thu, 11 May 2017 14:53:09 -0400 Original-Received: from pps.filterd (proofpoint8.lanl.gov [127.0.0.1]) by proofpoint8.lanl.gov (8.16.0.20/8.16.0.20) with SMTP id v4BIm8Y3068270; Thu, 11 May 2017 12:52:04 -0600 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint8.lanl.gov with ESMTP id 2a9b95h4yg-1; Thu, 11 May 2017 12:52:04 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 36071F8EC71; Thu, 11 May 2017 12:52:04 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from bismuth.lanl.gov (bismuth.lanl.gov [128.165.246.103]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 164F1F8EC6A; Thu, 11 May 2017 12:52:04 -0600 (MDT) In-Reply-To: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-05-11_15:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705110099 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 204.121.3.47 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:214798 Archived-At: > What do you mean by "VM address space"? Each process has its own > address space, so Emacs's use of address space shouldn't impact > other processes. But maybe you just mean the same as what I meant by > "swap" (i.e. the total amount of (virtual) memory that the system can > handle). Microsoft has long confused "virtual memory" with "swap", which leads to the false etymology that you have "real memory" (RAM) and "not-quite-real [=virtual] memory" (swap). Propertly, VM includes all possible addresses, and the total amount "allocated" can be larger even than RAM+swap (even without overcommit) because of things like (non-anonymous) mmap that can be backed by neither RAM nor swap. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.