emacs-devel
[Top][All Lists]
Advanced

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

Re: NS port: How to debug excessive garbage collection?


From: Eli Zaretskii
Subject: Re: NS port: How to debug excessive garbage collection?
Date: Sat, 13 Apr 2019 09:48:13 +0300

> Date:  Fri, 12 Apr 2019 22:55:42 -0700
> From:  Keith David Bershatsky <address@hidden>
> Cc:  address@hidden
> 
> Thank you, Eli, for letting me know that my previous test was not the correct 
> way to do it.  I added a little bit of code from garbage-collect to 
> garbage_collect_1 so that messages to stderr are automatically generated when 
> garbage collection occurs.

That's not what I meant.  I meant to look at the values of the
*_consed variables, here's the full list:

  intervals_consed
  strings_consed
  string_chars_consed
  floats_consed
  cons_cells_consed
  vector_cells_consed
  symbols_consed

You can use the function memory-use-counts, if that's more
convenient.  The question is: which of the above counters changes the
most between two GCs, and how does the answer to that depend on the
version of Emacs?



reply via email to

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