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 17:37:58 +0200

> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: arne_bab@web.de, spacibba@aol.com, emacs-devel@gnu.org
> Date: Mon, 13 Mar 2023 15:09:50 +0000
> 
> I think we can ask interested users to install a package like
> https://git.sr.ht/~yantar92/emacs-gc-stats/tree/main/item/emacs-gc-stats.el
> 
> Then, they can share the results after running Emacs with the package
> for some time.
> 
> See the attached statistics data example.
> 
> WDYT?

Looks useful, thanks.

> >> >> - memory-limit 6,518,516, stable
> >> >
> >> > ??? That's 6 GiB.  Didn't you say your memory footprint stabilizes at
> >> > 1 GiB?
> >> 
> >> memory-limit is a natively compiled function defined in subr.el.
> >
> > If the Emacs memory usage in system monitor is 1.7 Gib, how come
> > memory-limit says it's 6.5 GiB?
> 
> 6.5Gib is virtual memory. 1.7Gib is actually used memory - the value
> people usually mean when considering memory footprint.

You mean, the process has a 6.5 GiB footprint, out of which only 1.7
GiB are being used, and the rest is free?  That'd mean awfully
inefficient libc implementation of malloc.



reply via email to

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