[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26011: 26.0.50; tramp should respect large-file-warning-threshold
From: |
Michael Albinus |
Subject: |
bug#26011: 26.0.50; tramp should respect large-file-warning-threshold |
Date: |
Wed, 08 Mar 2017 17:38:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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.