emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does Emacs return memory to the system on Mac OS X or *BSD?


From: Davis Herring
Subject: Re: Does Emacs return memory to the system on Mac OS X or *BSD?
Date: Thu, 11 May 2017 12:52:03 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]