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: Kevin Rodgers
Subject: Re: tramp: Maximum buffer size exceeded
Date: Fri, 29 Aug 2003 10:45:59 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Kin Cho wrote:

Phillip Lord <address@hidden> writes:
"Kin" == Kin Cho <address@hidden> 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:address@hidden:/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.


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]