From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Accelerating Emacs? Date: Sat, 29 Oct 2005 17:43:29 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1130600748 23528 80.91.229.2 (29 Oct 2005 15:45:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2005 15:45:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 29 17:45:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EVssh-0002qB-2m for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Oct 2005 17:44:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVssg-0005SZ-Gb for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Oct 2005 11:44:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EVsrm-000500-W9 for help-gnu-emacs@gnu.org; Sat, 29 Oct 2005 11:43:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EVsrg-0004zO-S4 for help-gnu-emacs@gnu.org; Sat, 29 Oct 2005 11:43:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EVsrg-0004zJ-4v for help-gnu-emacs@gnu.org; Sat, 29 Oct 2005 11:43:28 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EVsrf-0001rN-QZ for help-gnu-emacs@gnu.org; Sat, 29 Oct 2005 11:43:28 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-146-133.inter.net.il [80.230.146.133]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BUO07507 (AUTH halo1); Sat, 29 Oct 2005 17:43:23 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: (herberteuler@hotmail.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30680 Archived-At: > From: "Herbert Euler" > Date: Sat, 29 Oct 2005 19:44:56 +0800 > > Also strange to me now. I tried that for more times, and sometimes > Emacs is so slow that I'm tired and then typed C-g to abort the generating > process, while it's OK in other trials. The job is half-finished when I > interrupt it. The signal of taking long time is Emacs prints one of the > messages listed above and stops there from continuing printing. If that > happens, the only way seems to be press C-g to abort it. > > Is it because of some bugs in garbage collection? I don't know how to find > out what the problem is, so can't provide any constructive information. You can enable garbage-collect messages by setting the variable garbage-collection-messages to non-nil. Then you will see a message in the echo area when Emacs is in GC. Other things to consider include: . Perhaps your system is running out of free RAM and Emacs starts paging? You can use the Windows Task Manager to see how much physical memory is used, how many page faults Emacs generates, and other pertinent info. . How many other programs are using up CPU cycles? The Task Manager will help you see that as well. . When Emacs freezes, do other programs on this system become unresponsive as well, or do they work normally? If the former, perhaps some network-related problem ties up the system in a busy-wait loop. . Does Emacs run any subprocesses concurrently with texinfo-format-buffer? If so, perhaps it's one of those subprocesses that causes Emacs to hang.