From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: RMAIL slows Date: Thu, 14 Apr 2005 15:03:13 -0400 Message-ID: References: <85ll7m8nbq.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1113507104 28190 80.91.229.2 (14 Apr 2005 19:31:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2005 19:31:44 +0000 (UTC) Cc: bob@rattlesnake.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 14 21:31:42 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DMA34-0000Kz-AT for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2005 21:30:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DMA5e-0001P3-Py for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2005 15:33:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DM9t3-0001Xo-W0 for emacs-devel@gnu.org; Thu, 14 Apr 2005 15:20:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DM9rG-0001Ci-QF for emacs-devel@gnu.org; Thu, 14 Apr 2005 15:18:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DM9r4-00015F-Gl for emacs-devel@gnu.org; Thu, 14 Apr 2005 15:18:22 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DM9dE-0005i0-Tc for emacs-devel@gnu.org; Thu, 14 Apr 2005 15:04:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DM9cP-0007TS-Py; Thu, 14 Apr 2005 15:03:19 -0400 Original-To: David Kastrup In-reply-to: <85ll7m8nbq.fsf@gnu.org> (message from David Kastrup on Wed, 13 Apr 2005 21:54:17 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:35989 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35989 > I wonder if the slowness is due to an increasing number of markers > or overlays in the buffer. Maybe goto-address is making them and > never getting rid of them. If that were the case, then one symptom might be that performance improves when setting gc-cons-threshold to a _smaller_ value, such as 1000. Then Emacs would collect garbage (and consequently unused markers slowing down the operation) quite more often. If it is cumulative over a period of days, they are not getting GC'd. Markers that are pointed to would not get GC'd. Overlays would not get GC'd.