From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Chong Yidong <cyd@gnu.org>
Cc: Carsten Mattner <carstenmattner@googlemail.com>, emacs-devel@gnu.org
Subject: Re: Pretest note
Date: Tue, 13 Mar 2012 11:39:44 +0100 [thread overview]
Message-ID: <603C2C2A-083E-42CA-9D66-7DE8E8D1D3E1@swipnet.se> (raw)
In-Reply-To: <87boo16mrn.fsf@gnu.org>
13 mar 2012 kl. 07:25 skrev Chong Yidong:
> 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.
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.
Jan D.
next prev parent reply other threads:[~2012-03-13 10:39 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 [this message]
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=603C2C2A-083E-42CA-9D66-7DE8E8D1D3E1@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=carstenmattner@googlemail.com \
--cc=cyd@gnu.org \
--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).