Re: Emacs has hard time with big text files

2008-09-09 Thread Mark Allums
Martin wrote: On Mon, Sep 08, 2008 at 09:28:42AM +0200, Johann Spies wrote: After reading your message I did a quick test: I have opened a 279Mb (2632033 lines) file in emacs and in vim. That is on a laptop with 4G ram (64-bit system). My comp is PII with 192Mb RAM and 255Mb swap. As my 46 MB

Re: Emacs has hard time with big text files

2008-09-09 Thread Sven Joachim
On 2008-09-09 13:37 +0200, Martin wrote: > When opening file of 150Mb size emacs show in minibuffer: > Maximum buffer size exceeded > and refuse to open the file at all! > I added another 1Gb of swap but it did not help. > How does emacs decide the maximum size of file it accept? On 32-bit machin

Re: Emacs has hard time with big text files

2008-09-09 Thread Martin
On Mon, Sep 08, 2008 at 09:28:42AM +0200, Johann Spies wrote: > After reading your message I did a quick test: I have opened a 279Mb > (2632033 lines) file in emacs and in vim. That is on a laptop with 4G > ram (64-bit system). My comp is PII with 192Mb RAM and 255Mb swap. As my 46 MB file keeps g

Re: Emacs has hard time with big text files

2008-09-08 Thread Jörg-Volker Peetz
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? Martin What mode is emacs using for the file? E.g., if the fil

Re: Emacs has hard time with big text files

2008-09-08 Thread Johann Spies
On Fri, Sep 05, 2008 at 02:19:12PM +0200, 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? I started using

Re: Emacs has hard time with big text files

2008-09-06 Thread Martin
On Fri, Sep 05, 2008 at 03:21:16PM -0500, Mike McCarty wrote: > Tzafrir Cohen wrote: > >But why is so much memory used in the first place? Memory is not problem in this case. Even that I have little RAM for todays standard (192M on PII) I rarely see any swap used. Where are the times when one lea

Re: Emacs has hard time with big text files

2008-09-05 Thread Mumia W..
On 09/05/2008 07:19 AM, 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? Martin How much RAM do you have? What

Re: Emacs has hard time with big text files

2008-09-05 Thread Mike McCarty
Tzafrir Cohen wrote: On Fri, Sep 05, 2008 at 11:14:04AM -0500, Mike McCarty wrote: 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 do

Re: Emacs has hard time with big text files

2008-09-05 Thread Tzafrir Cohen
On Fri, Sep 05, 2008 at 11:14:04AM -0500, Mike McCarty wrote: > 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 applic

Re: Emacs has hard time with big text files

2008-09-05 Thread Mike McCarty
Jeff Soules wrote: On Fri, Sep 5, 2008 at 12:14 PM, Mike McCarty <[EMAIL PROTECTED]> wrote: Must... not... compare... emacs... to... Operating... System... I wasn't comparing anything to anything. I don't understand even what your objection might be. In the old vi-vs.-EMACS flamewars it was

Re: Emacs has hard time with big text files

2008-09-05 Thread Jeff Soules
On Fri, Sep 5, 2008 at 12:14 PM, Mike McCarty <[EMAIL PROTECTED]> wrote: >> Must... not... compare... emacs... to... Operating... System... > > I wasn't comparing anything to anything. I don't understand > even what your objection might be. In the old vi-vs.-EMACS flamewars it was often claimed b

Re: Emacs has hard time with big text files

2008-09-05 Thread Andrew Sackville-West
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 pr

Re: Emacs has hard time with big text files

2008-09-05 Thread Mike McCarty
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

Re: Emacs has hard time with big text files

2008-09-05 Thread Ron Johnson
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 ou

Re: Emacs has hard time with big text files

2008-09-05 Thread Mike McCarty
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. Mik

Re: Emacs has hard time with big text files

2008-09-05 Thread Sven Joachim
On 2008-09-05 14:19 +0200, 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? Which version of Emacs is this?