emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation and gc


From: Eli Zaretskii
Subject: Re: Indentation and gc
Date: Mon, 13 Mar 2023 18:52:49 +0200

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: arne_bab@web.de, spacibba@aol.com, emacs-devel@gnu.org
> Date: Mon, 13 Mar 2023 16:04:49 +0000
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> So, fragmentation? Or do we mis-communicate?
> >> For me, memory fragmentation is when memory cannot be released to OS
> >> and/or cannot be re-used to store new objects.
> >
> > Fragmentation is the latter, not the former.
> 
> Noted. Can we measure fragmentation from Elisp?

I think only on glibc platforms, where we have malloc-info.  The
output will need to be post-processed by some code, based on expert
knowledge of what the numbers mean.

> Does memory-limit include the fragmented memory segments?

I think it does, although it's system-dependent.  It's basically what
'top' shows as VSIZE.



reply via email to

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