[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pretest note
From: |
Jan Djärv |
Subject: |
Re: Pretest note |
Date: |
Tue, 13 Mar 2012 11:39:44 +0100 |
13 mar 2012 kl. 07:25 skrev Chong Yidong:
> Carsten Mattner <address@hidden> 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.
- Re: Pretest note, (continued)
- Re: Pretest note, Carsten Mattner, 2012/03/12
- Re: Pretest note, Chong Yidong, 2012/03/13
- Re: Pretest note, Carsten Mattner, 2012/03/13
- Re: Pretest note, Carsten Mattner, 2012/03/13
- Re: Pretest note, Carsten Mattner, 2012/03/13
- Re: Pretest note, Tassilo Horn, 2012/03/13
- Re: Pretest note, Carsten Mattner, 2012/03/13
- Re: Pretest note, Carsten Mattner, 2012/03/13
- Re: Pretest note, Jan Djärv, 2012/03/13
- Re: Pretest note,
Jan Djärv <=
- Re: Pretest note, Chong Yidong, 2012/03/14
- Re: Pretest note, Carsten Mattner, 2012/03/14
Re: Pretest note, John Yates, 2012/03/12
Re: Pretest note, David De La Harpe Golden, 2012/03/12
Re: Pretest note, Angelo Graziosi, 2012/03/14