help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixxed buffer size for eshell


From: Eli Zaretskii
Subject: Re: Fixxed buffer size for eshell
Date: Sun, 30 Apr 2017 22:21:03 +0300

> Date: Sun, 30 Apr 2017 21:37:46 +0300
> From: Anast Gramm <address@hidden>
> Cc: address@hidden
> 
> On Sun, Apr 30, 2017 at 05:21:51PM +0300, Eli Zaretskii wrote:
> > > Date: Sun, 30 Apr 2017 13:02:52 +0300
> > > From: Anast Gramm <address@hidden>
> > > 
> > > When I run a build command eshell gets filled with thousands of lines
> > > with the compiler commands.
> > > 
> > > This results in a huge buffer (>10mb) thus slowing down emacs.
> > 
> > Large buffers shouldn't slow down Emacs.  They don't here.  And 10MB
> > is not large by today's standards anyway.
> Actually it's 10mb for every time I run the afformentioned commands,
> so it gets big fast.

OK, but that's still not large.  When you get around 1GB, that will be
large.

> > Can you show a recipe for reproducing the problem?
> An example is when I print the contents of a binary file using
> a C++ program, and that file is big, eshell buffer gets ~50000 lines
> at that point stuff moves slower for a while.

All I can say is that I cannot reproduce this here.  I've ran this
command

  $ od prog

where prog is a 13MB executable program.  That filled the Eshell
buffer with 190,000 lines, and I still didn't see any slowdown.  Not
sure why you do see Emacs getting slower (I tried C-b and C-p).  Is
this similar to what you do in your case?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]