Re: Emacs has hard time with big text files



On Fri, Sep 05, 2008 at 11:14:04AM -0500, Mike McCarty wrote:
Ron Johnson wrote:
On 09/05/08 10:46, Mike McCarty wrote:
Martin wrote:
When I open big text file (46M in this case) emacs take long time for
moving cursor and editing. It takes 3-4 seconds to process every key
press.

Is this only my case or is emacs in general sluggish with big files?

Have you looked at the output from top? You may be swapping.

Must... not... compare... emacs... to... Operating... System...

I wasn't comparing anything to anything. I don't understand
even what your objection might be.

must... resist... urge... to... say... "whoosh"...

;-)


If he's filled up memory, and the system has swapped the code
EMACS uses to move the cursor to disc, then he may be seeing
lag due to swap time to move the code in and execute it.

That might or might not slow down other applications, depending
on what cache algorithms are in effect. Keypresses don't come
very often.

I second this... look for swapping.

A

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: Emacs has hard time with big text files
    ... moving cursor and editing. ... Is this only my case or is emacs in general sluggish with big files? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: A good IDE??
    ... >> emacs is not swapping, where did you get that from, i use emac on ... >> different platforms and it does not result in any swapping. ... Don't know what life was like with 4 MB of RAM. ...
    (comp.lang.java.programmer)
  • Re: Emacs has hard time with big text files
    ... moving cursor and editing. ... Is this only my case or is emacs in general sluggish with big files? ... I started using vim with large files years ago when I had a problem ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Emacs has hard time with big text files
    ... moving cursor and editing. ... Is this only my case or is emacs in general sluggish with big files? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)