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

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

Re: tramp: Maximum buffer size exceeded


From: Kin Cho
Subject: Re: tramp: Maximum buffer size exceeded
Date: 29 Aug 2003 10:05:13 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Kin Cho wrote:
> 
> > Phillip Lord <p.lord@russet.org.uk> writes:
> >>>>>>>"Kin" == Kin Cho <kin@neoscale.com> writes:
> >>  Kin> tramp (2.0.35) seems to have trouble with large file size.
> >>
> >>  Kin> I was trying to copy /large-file (210 Meg) from foobar to a
> >>  Kin> local directory.
> >>
> >>  Kin> Perhaps there is another tramp method which doesn't require
> >>  Kin> first fetching a remote file to a local temp file?
> >>
> >>  Kin> Thanks.
> >>
> >>  Kin> -kin
> >>
> >>  Kin> tramp: Fetching /scp:root@foobar:/large-file to tmp file
> >>  Kin> /tmp/tramp.61036yh...done tramp: Inserting local temp file
> >>  Kin> `/tmp/tramp.61036yh'...  setq: Maximum buffer size exceeded
> >> This is not a problem with tramp per se, but with emacs. It
> >> has a
> >>maximum buffer size (which is I think something like 2^26
> >> characters). Your 210 meg file is too large for it.
> > But scp is an out-of-band method, why does tramp has to process
> > the file content in emacs?
> 
> 
> It has to insert the file contents into a buffer so you can edit it.

I wasn't trying to edit the file.

I was copying /large-file (dwim style) from a (tramp) dired
buffer to a (non-tramp) dired buffer.

-kin

> 
> >> Try it locally. You would still have the same problem.
> > Manually using scp works fine.
> 
> The copy succeeded.  The failure occurred trying to insert the local
> 
> copy of the file into an Emacs buffer.
> 
> -- 
> Kevin Rodgers


reply via email to

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