[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs `hangs' when doing `replace-string' in 46 MB file
From: |
Christian Schlauer |
Subject: |
Re: Emacs `hangs' when doing `replace-string' in 46 MB file |
Date: |
Thu, 11 Nov 2004 17:16:44 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) |
Richard Stallman <address@hidden> writes:
> It sounds like you got into an error loop.
> If you can try it under a debugger with a breakpoint
> at Fsignal, you might find more useful info.
I'm afraid I can't -- I don't have a development environment.
But I was able to reproduce the hanging by copying the following line
a little more than 800000 times:
0,643680 0,000139 -0,000458 0,000000 1,000000
Then I ran `M-x replace-string RET , RET .', and went home. On the
next morning (that is, more than 14 hours later), Emacs was still
running, but I could only see the frame borders, the frame contents
wasn't `redrawn' after logging in again. I checked the Windows task
manager: Emacs consumed about 180 MB of memory, had used 2 h 28 min
CPU time, and the CPU load was between 0 % and 13 %. But this time,
there was no frame flashing or beeping.
Maybe someone can reproduce this under GNU/Linux? It takes less than 5
minutes to yank the above line 800000 times on a PIII/800 MHz ;-)
--
Christian Schlauer