From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#496: 23.0.60; ispell-word becomes increasingly slower Date: Sat, 28 Jun 2008 18:04:02 +0300 Message-ID: References: <20080628002655.A4921924848@mt-computer.local> Reply-To: Eli Zaretskii , 496@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1214666853 16236 80.91.229.12 (28 Jun 2008 15:27:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2008 15:27:33 +0000 (UTC) Cc: 496@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org, bug-gnu-emacs@gnu.org, bug-submit-list@donarmstrong.com To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 28 17:28:18 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KCcLY-0005In-FK for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jun 2008 17:28:16 +0200 Original-Received: from localhost ([127.0.0.1]:37291 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCcKi-0005Wa-EZ for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jun 2008 11:27:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KCcKd-0005WC-9e for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2008 11:27:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KCcKa-0005Tw-U0 for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2008 11:27:19 -0400 Original-Received: from [199.232.76.173] (port=54318 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCcKa-0005Tq-Km for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2008 11:27:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52119) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KCcKZ-0007XZ-QG for bug-gnu-emacs@gnu.org; Sat, 28 Jun 2008 11:27:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5SFRBEt022568; Sat, 28 Jun 2008 08:27:12 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m5SFF4vE019139; Sat, 28 Jun 2008 08:15:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 28 Jun 2008 15:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 496 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121466552317491 (code B ref -1); Sat, 28 Jun 2008 15:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 28 Jun 2008 15:05:23 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5SF5FJi017368 for ; Sat, 28 Jun 2008 08:05:17 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:52889) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KCbz5-0006je-Dt for emacs-pretest-bug@gnu.org; Sat, 28 Jun 2008 11:05:03 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KCbzC-0004Iu-9U for emacs-pretest-bug@gnu.org; Sat, 28 Jun 2008 11:05:15 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:42079) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KCbzB-0004IW-TX; Sat, 28 Jun 2008 11:05:10 -0400 Original-Received: from HOME-C4E4A596F7 ([80.230.31.196]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K3600HE0IK8PTV0@i-mtaout1.012.net.il>; Sat, 28 Jun 2008 18:19:21 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 28 Jun 2008 11:27:18 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18559 gmane.emacs.pretest.bugs:22695 Archived-At: > From: Markus Triska > Cc: 496@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org, > bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org > Date: Sat, 28 Jun 2008 11:25:48 +0200 > > Eli Zaretskii 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. But your test.el shows a similar problem with Ispell. So either Aspell and Ispell share the same problem, or Emacs still has something to do with the slowdown.