emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pretest note


From: Chong Yidong
Subject: Re: Pretest note
Date: Wed, 14 Mar 2012 14:24:28 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Jan Djärv <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]