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: Eli Zaretskii
Subject: Re: Does Emacs return memory to the system on Mac OS X or *BSD?
Date: Wed, 10 May 2017 19:45:30 +0300

> From: George Plymale II <address@hidden>
> Date: Wed, 10 May 2017 02:31:09 -0400
> Cc: address@hidden
> 
> Well, again, which source file(s) may I poke at to see this sort of
> stuff in action myself?

If you are asking about the Emacs sources, then the relevant suspects
are gmalloc.c and ralloc.c, but each one of these is only relevant to
your build if you see the corresponding *.o file in the build
directory.

The other relevant part is the use of mmap for buffer text; look in
src/config.h for the definition of USE_MMAP_FOR_BUFFERS.



reply via email to

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