emacs-devel
[Top][All Lists]
Advanced

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

Re: Memory usage report


From: Lars Ingebrigtsen
Subject: Re: Memory usage report
Date: Fri, 18 Sep 2020 14:59:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> That can have significant memory?
>
> Some of them could, yes.

Do you know which ones?

>> I don't think we have to go that far to be useful.  Reporting that the
>> image cache takes foo GB will help somebody.
>
> Why would an image cache take that much? we flush it from time to
> time, and I have difficulty believing that all those users reporting
> large memory footprints load thousands of images every hour of every
> day.

It is unlikely that "all those users" use that many images, but some
may.  (As you no doubt remember, calling `image-size' in a loop will
kill Emacs with an out of memory fault.)

>> > Which variables did you have in mind in this context?  Can you show an
>> > example?
>> 
>> It'd just traverse all the variables and compute the "largest" ones.
>
> Again, they are included in the GC report.  So what do you expect to
> see?

I expect to see what variables take "all that size"?  I'm not sure what
you're asking here.

> So, while a more detailed report might be nice to have, I don't see
> how it would help to diagnose "leaks" of the kind we are discussing
> now on the bug list.

I am not talking about any bug report in particular.  If I were, that is
where I would have posted this.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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