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?