From: Kin Cho <kin@techie.com>
Subject: Re: tramp: Maximum buffer size exceeded
Date: 29 Aug 2003 08:59:46 -0700 [thread overview]
Message-ID: <7ir834bgjx.fsf@neoscale.com> (raw)
In-Reply-To: vfznhses8r.fsf@rpc71.cs.man.ac.uk
Phillip Lord <p.lord@russet.org.uk> writes:
> >>>>> "Kin" == Kin Cho <kin@neoscale.com> writes:
>
> Kin> Hi,
>
> 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?
> Try it locally. You would still have the same problem.
Manually using scp works fine.
-kin
> There is essentially no way around this, other than bad hacks, like
> splitting the file up into two.
>
> Phil
next prev parent reply other threads:[~2003-08-29 15:59 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 [this message]
2003-08-29 16:45 ` Kevin Rodgers
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7ir834bgjx.fsf@neoscale.com \
--to=kin@techie.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.