From: Kin Cho <kin@techie.com>
Subject: Re: tramp: Maximum buffer size exceeded
Date: 29 Aug 2003 15:41:14 -0700 [thread overview]
Message-ID: <7iy8xcnl2t.fsf@neoscale.com> (raw)
In-Reply-To: 84r834uto9.fsf@slowfox.is.informatik.uni-duisburg.de
kai.grossjohann@gmx.net (Kai Großjohann) writes:
> Kin Cho <kin@neoscale.com> writes:
>
> > tramp (2.0.35) seems to have trouble with large file size.
> >
> > I was trying to copy /large-file (210 Meg) from foobar to a local
> > directory.
>
> It's a pity. I didn't think of this optimization. If you look at
> the function tramp-do-copy-or-rename-file, then you will see that it
> deals with the following special cases:
>
> * Both are Tramp files. In that case, I look whether they are from
> the same user/host/method combo. If so, I invoke "mv"/"cp" on the
> remote system directly. If not, see the last case.
>
> * Neither are Tramp files. Error.
>
> * This is the default case: fetch file into a buffer, then save the
> buffer.
>
> I should add another case which looks whether exactly one of them is
> remote and the method is an out of band method. In that case, I can
> invoke rcp/scp/... directly.
>
> Want to code this?
I'll take a shot at it.
However, since I don't copy these large files often (may be once
a month), and even then it's easy to manually type the scp
command anyway. My sense of urgency to work on this will be low.
Speaking of urgency, one thing that comes to mind as being more
urgently needed is to optimize tramp startup connection time.
An idea I had was to cache the little things that tramp sends to
the remote host. That way, tramp would startup much quicker the
next time it connects to the same host.
-kin
prev parent reply other threads:[~2003-08-29 22:41 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
2003-08-29 19:53 ` Kai Großjohann
2003-08-29 22:41 ` Kin Cho [this message]
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=7iy8xcnl2t.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.
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).