[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Memory again
From: |
Óscar Fuentes |
Subject: |
Re: Memory again |
Date: |
Thu, 15 Dec 2011 05:50:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> But right now, having had emacs up for a few days, and only opening 10
>> small files with the aid of emacsclient, emacs's RSS is 130M. It had
>> climbed up to 400M before I most recently killed it.
>
> What version of Emacs is that, and on which OS?
>
> FWIW, my Emacs runs for many weeks if not months, has about 250 to 300
> buffers of various sizes, and never exceeds 200MB (usually levels out
> at 170MB).
I have a similar experience.
>> By the way, the dismissal of this being a real problem because emacs can
>> always reuse the fragmented memory either
>
> I don't think there's much fragmented memory in real-life use (barring
> bugs). The test cases that exhibited a lot of fragmentation are all
> toy examples that don't really happen.
The case I described was real, although seldom happens here. I can think
of typical scenarios where buffer size grows to large sizes: ERC
sessions, files monitored with auto-revert(-tail)-mode... Even cases
where the user makes a mistake that creates huge buffers (visiting a
GNUs group with tens of thousands on unread messages, for instance.)
Taking a selfish stance, I don't care about this problem because it is
not harming me, but your response and Stefan's looks a lot like hand
waving. Yes, it probably is hard to fix and there are more profitably
tasks, but it *is* a real problem, not something a user made up for
chatting about memory allocators on emacs-devel.
Re: Memory again, Óscar Fuentes, 2011/12/06
- Re: Memory again, Stefan Monnier, 2011/12/06
- Re: Memory again, Nix, 2011/12/11
- Re: Memory again, Tim Connors, 2011/12/14
- Re: Memory again, Eli Zaretskii, 2011/12/14
- Re: Memory again, Tim Connors, 2011/12/14
- Re: Memory again, Eli Zaretskii, 2011/12/15
Re: Memory again,
Óscar Fuentes <=
Re: Memory again, Eli Zaretskii, 2011/12/15
Re: Memory again, Stefan Monnier, 2011/12/16
Re: Memory again, Nix, 2011/12/17
Re: Memory again, Dmitry Antipov, 2011/12/18
Re: Memory again, Stefan Monnier, 2011/12/18
Re: Memory again, Dmitry Antipov, 2011/12/19
Re: Memory again, Stefan Monnier, 2011/12/19
Re: Memory again, emacs user, 2011/12/19
Re: Memory again, emacs user, 2011/12/20