GNU bug report logs - #496
23.0.60; ispell-word becomes increasingly slower

Previous Next

Package: emacs;

Reported by: Markus Triska <markus.triska <at> gmx.at>

Date: Sat, 28 Jun 2008 00:45:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Markus Triska <markus.triska <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 496 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org,
        bug-submit-list <at> donarmstrong.com, bug-gnu-emacs <at> gnu.org
Subject: bug#496: 23.0.60; ispell-word becomes increasingly slower
Date: Sat, 28 Jun 2008 11:25:48 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> check for memory leaks in aspell, I did:
>> 
>>    $ while true; do echo "test"; done | aspell -a
>> 
>> and in this case, aspell's memory usage seems to stay constant.
>
> Garbage collection?

I've received a better test case from the Aspell maintainer: 

  ( while true; do echo '!'; echo "-"; echo "%"; echo "^test"; done ) | aspell -a

According to him, it is the constant switching of modes that is causing
a problem. He notes:

   "I have narrowed down the problem code. Technically it is not a leak
   as the code is still reachable (according to valgrind), which makes
   it harder to fix. I will let you know."

It is thus more an Aspell problem, but if it cannot be fixed in Aspell,
I will look whether the Emacs side of communication can be improved.




This bug report was last modified 16 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.