From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: tramp: Maximum buffer size exceeded
Date: Fri, 29 Aug 2003 10:45:59 -0600 [thread overview]
Message-ID: <3F4F8347.1080701@yahoo.com> (raw)
In-Reply-To: 7ir834bgjx.fsf@neoscale.com
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.
>>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
next prev parent reply other threads:[~2003-08-29 16:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-29 2:55 tramp: Maximum buffer size exceeded Kin Cho
2003-08-29 9:19 ` Phillip Lord
2003-08-29 15:59 ` Kin Cho
2003-08-29 16:45 ` Kevin Rodgers [this message]
2003-08-29 17:05 ` Kin Cho
2003-08-29 19:53 ` Kai Großjohann
2003-08-29 22:41 ` Kin Cho
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F4F8347.1080701@yahoo.com \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).