all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kin Cho <kin@techie.com>
Subject: Re: tramp: Maximum buffer size exceeded
Date: 29 Aug 2003 10:05:13 -0700	[thread overview]
Message-ID: <7iad9sbdiu.fsf@neoscale.com> (raw)
In-Reply-To: 3F4F8347.1080701@yahoo.com

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	other threads:[~2003-08-29 17:05 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
2003-08-29 17:05       ` Kin Cho [this message]
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=7iad9sbdiu.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.