unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Carsten Mattner <carstenmattner@googlemail.com>, emacs-devel@gnu.org
Subject: Re: Pretest note
Date: Wed, 14 Mar 2012 14:24:28 +0800	[thread overview]
Message-ID: <87obrz7l9f.fsf@gnu.org> (raw)
In-Reply-To: <603C2C2A-083E-42CA-9D66-7DE8E8D1D3E1@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Tue, 13 Mar 2012 11:39:44 +0100")

Jan Djärv <jan.h.d@swipnet.se> writes:

>> (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.
>
> I don't see much difference.
> After executing, Emacs 23 uses 33.9 Mbyte real memory, 41.2 virtual.
> Emacs trunk: 35.4/42.8
>
> Garbage-collect after the run has no effect.

Then memory can be returned, at least in some circumstances.  Otherwise
50,000 copies of NEWS would take up 3GB of memory.



  reply	other threads:[~2012-03-14  6:24 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
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 [this message]
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=87obrz7l9f.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=carstenmattner@googlemail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /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).