unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Robert Marshall <robert.marshall@codethink.co.uk>
Cc: 26011-done@debbugs.gnu.org
Subject: bug#26011: 26.0.50; tramp should respect large-file-warning-threshold
Date: Wed, 08 Mar 2017 17:38:50 +0100	[thread overview]
Message-ID: <87mvcvoh9h.fsf@detlef> (raw)
In-Reply-To: <87efy8ue9q.fsf@ctlt579.codethink.co.uk> (Robert Marshall's message of "Wed, 08 Mar 2017 12:46:57 +0000")

Robert Marshall <robert.marshall@codethink.co.uk> writes:

Hi Robert,

> Yes that's better thank you, you still get the transient error if I
> continue (my file was 4Gig) but I guess it's too late to do anything
> else by the time it gets there

Once you confirm to copy/rename a huge file, its contents is loaded into
a temporary buffer. And yes, if it's too large, memory is exhausted.
There's nothing Tramp could know in advance, and prevent it.

If you handle regularly such huge files, Tramp's "scp" method is
superiour to "ssh".

I've pushed the patch to both Emacs and Tramp repositories, closing the bug.

> Robert

Best regards, Michael.





      reply	other threads:[~2017-03-08 16:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07 14:21 bug#26011: 26.0.50; tramp should respect large-file-warning-threshold Robert Marshall
2017-03-07 16:57 ` Michael Albinus
2017-03-08 12:46   ` Robert Marshall
2017-03-08 16:38     ` Michael Albinus [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=87mvcvoh9h.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=26011-done@debbugs.gnu.org \
    --cc=robert.marshall@codethink.co.uk \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).