unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Markus Triska <markus.triska@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 496@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org,
	bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com
Subject: bug#496: 23.0.60; ispell-word becomes increasingly slower
Date: Sat, 28 Jun 2008 11:25:48 +0200	[thread overview]
Message-ID: <m1abh5zzab.fsf@gmx.at> (raw)
In-Reply-To: <uod5mc9gf.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Jun 2008 10:20:00 +0300")

Eli Zaretskii <eliz@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.






  reply	other threads:[~2008-06-28  9:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-28  0:26 bug#496: 23.0.60; ispell-word becomes increasingly slower Markus Triska
2008-06-28  7:20 ` Eli Zaretskii
2008-06-28  9:25   ` Markus Triska [this message]
2008-06-28 15:04     ` Eli Zaretskii
2008-06-28 15:21       ` Markus Triska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1abh5zzab.fsf@gmx.at \
    --to=markus.triska@gmx.at \
    --cc=496@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=bug-submit-list@donarmstrong.com \
    --cc=eliz@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).