emacs-devel
[Top][All Lists]
Advanced

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

Re: Memory again


From: Eli Zaretskii
Subject: Re: Memory again
Date: Sun, 27 Nov 2011 08:11:00 -0500

> Date: Sun, 27 Nov 2011 11:29:46 +0100
> From: Carsten Mattner <address@hidden>
> Cc: address@hidden, address@hidden
> 
> After fresh startup: 21MB
> Loading xx .erl file: 21.5MB
> Kill buffer: 21.7MB
> Load 13499b .erl file again: 21.8MB
> Kill buffer: 21.7MB
> Load 13499b .erl file again: 22MB
> Kill buffer: 21.8MB
> Load 13499b .erl file again: 22.1MB
> Kill buffer: 22.3MB
> Load 13499b .erl file again: 22.2MB
> Kill buffer: 22.4MB
> Load 13499b .erl file again: 22.3MB
> Kill buffer: 22.4MB
> Load 13569b .erl file: 22.3MB
> Kill buffer: 22.5MB

Looks like some leak, indeed.

> fresh startup without Ido: 21.2MB or 21.1MB
> C-x C-f: 21.3MB
> load 13499b .erl file: 21.3MB
> kill buffer: 21.4MB
> reload same .erl file: 21.5MB
> kill buffer: 21.6MB
> reload same .erl file: 21.7MB first then 21.6MB then 21.5MB
> kill buffer: 21.7MB first then 21.6MB
> reload same .erl file: 21.7MB first then 21.6MB

This looks normal: the memory is more or less constant.

> > I'd start by showing the value returned by `garbage-collect' and
> > comparing it with the value after startup.
> 
> Where am I supposed to see the output of (garbage-collect)?

Either one of the following:

 . Type "M-: (garbage-collect) RET", then find the results in *Messages*.

 . Type in *scratch* "(garbage-collect)^J".

 . Use ielm as pointed out by Andreas.



reply via email to

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