all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: George Plymale II <georgie@southernohio.net>
Cc: emacs-devel@gnu.org
Subject: Re: Does Emacs return memory to the system on Mac OS X or *BSD?
Date: Wed, 10 May 2017 08:49:01 -0400	[thread overview]
Message-ID: <jwv4lwsop98.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m0vap9ql3m.fsf@lehi.dev.orbitalimpact.com> (George Plymale, II's message of "Wed, 10 May 2017 02:31:09 -0400")

> Sorry, I did not know that Emacs would return pages rarely. I figured it
> would be somewhat common, if you have multiple, dead GBs of heap laying
> around (as in the linked reddit post). Such a thing seems like a token
> that you should give some of that back to the OS.

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).

In the reddit thread, the 1.5GB is completely unexplained, so it's hard
to say anything intelligent about it.


        Stefan



  parent reply	other threads:[~2017-05-10 12:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-09 23:03 Does Emacs return memory to the system on Mac OS X or *BSD? George Plymale II
2017-05-10  3:07 ` Stefan Monnier
2017-05-10  6:31   ` George Plymale II
2017-05-10 12:06     ` Stefan Monnier
2017-05-10 16:09       ` George Plymale II
2017-05-13 17:07         ` Andreas Politz
2017-05-10 12:49     ` Stefan Monnier [this message]
2017-05-10 16:45     ` Eli Zaretskii
2017-05-10 19:16       ` George Plymale II
2017-05-10 22:33         ` Tim Cross
2017-05-10 23:34           ` George Plymale II
2017-05-11  0:25             ` Stefan Monnier
2017-05-11  1:39               ` George Plymale II
2017-05-11  2:20                 ` Stefan Monnier
2017-05-11  0:06           ` Stefan Monnier
2017-05-11  2:36             ` Eli Zaretskii
2017-05-11 12:29               ` Stefan Monnier
2017-05-11 15:23                 ` Eli Zaretskii
2017-05-11 15:39                   ` Stefan Monnier
2017-05-11 16:07                     ` Eli Zaretskii
2017-05-11 18:52                 ` Davis Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4lwsop98.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=georgie@southernohio.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.