unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Carsten Mattner <carstenmattner@googlemail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Pretest note
Date: Tue, 13 Mar 2012 14:25:00 +0800	[thread overview]
Message-ID: <87boo16mrn.fsf@gnu.org> (raw)
In-Reply-To: <CACY+HvpMAhBy=V3=YTawFSD88Eqizt2T-52uP2RboJgrb_a-7w@mail.gmail.com> (Carsten Mattner's message of "Mon, 12 Mar 2012 14:39:10 +0100")

Carsten Mattner <carstenmattner@googlemail.com> writes:

> Don't we want to do something about the leak(s) or at least verify
> down that they're correct "caching" or "reuse" behavior?

AFAICT, this is Jan's report that memory is not returned to the system
on Mac OS?  Obviously, if someone can help pin this down, that will be
appreciated.  Yamamoto Mitsuharu gave one suggestion here:

http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00358.html.

Also, I'd like to know whether it really involves memory not being
returned at all, independently of gnutls and networking.  For example,
here is some Elisp code that visits a file and kills the buffer a few
thousand times:

(dotimes (n 50000)
  (with-temp-buffer
    (insert-file-contents "/path/to/emacs/etc/NEWS")))

If Emacs on Mac OS really never returns memory, this should chew up all
the memory on your system.  Does it?  Check also if Emacs 23 is
affected.



  reply	other threads:[~2012-03-13  6:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12  3:13 Pretest note Chong Yidong
2012-03-12  6:17 ` Jambunathan K
2012-03-12 11:08 ` Leo
2012-03-12 11:12   ` Lars Magne Ingebrigtsen
2012-03-12 11:30     ` Leo
2012-03-12 13:39 ` Carsten Mattner
2012-03-13  6:25   ` Chong Yidong [this message]
2012-03-13  9:02     ` Carsten Mattner
2012-03-13  9:16       ` Carsten Mattner
2012-03-13  9:17         ` Carsten Mattner
2012-03-13  9:33         ` Tassilo Horn
2012-03-13 10:31           ` Carsten Mattner
2012-03-13 10:46             ` Carsten Mattner
2012-03-13 10:28     ` Jan Djärv
2012-03-13 10:39     ` Jan Djärv
2012-03-14  6:24       ` Chong Yidong
2012-03-14 10:25     ` Carsten Mattner
2012-03-12 16:30 ` John Yates
2012-03-13  6:31   ` Chong Yidong
2012-03-12 22:34 ` David De La Harpe Golden
2012-03-13 13:00   ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2012-03-14 20:22 Angelo Graziosi

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87boo16mrn.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=carstenmattner@googlemail.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).