[Top][All Lists]

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

Re: Emacs memory management and sluggishness

From: Eli Zaretskii
Subject: Re: Emacs memory management and sluggishness
Date: Sun, 28 Jul 2019 05:38:25 +0300

> From: Óscar Fuentes <address@hidden>
> Cc: address@hidden
> Date: Sun, 28 Jul 2019 01:52:19 +0200
> It occurred to me to take a look at M-x list-timers and it showed about
> 700 (seven hundred) of them. The most frequent was about 300 repetitions
> of
>    *       0.05        t aggressive-indent--indent-if-changed
> which is created by aggressive-indent-mode, that I use on a subset of my
> buffers, then several dozens of
>    *       0.50        t pdf-cache--prefetch-start
> which comes from pdf-tools, and dozens of
>         6467.37        - password-cache-remove
> (the Next number varies, of course). So I used cancel-function-timers to
> get rid of all the instances of those 3 examples and the lag while
> typing text went away.

Yes, excess number of timers can produce lags.

> Now I'll do what you advised: fresh build, fresh instance and watch for
> memory (and timers) increase.

Suggest to start a bug report and accumulate all the data there.

reply via email to

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