From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#26011: 26.0.50; tramp should respect large-file-warning-threshold Date: Wed, 08 Mar 2017 17:38:50 +0100 Message-ID: <87mvcvoh9h.fsf@detlef> References: <87pohtuq0e.fsf@ctlt579.codethink.co.uk> <87y3whnhxu.fsf@detlef> <87efy8ue9q.fsf@ctlt579.codethink.co.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488991216 25548 195.159.176.226 (8 Mar 2017 16:40:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2017 16:40:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26011-done@debbugs.gnu.org To: Robert Marshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 08 17:40:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cledH-0005v6-5S for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Mar 2017 17:40:11 +0100 Original-Received: from localhost ([::1]:57254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cledJ-0004A2-St for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Mar 2017 11:40:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cledC-00046R-3k for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2017 11:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cled8-0006bW-UA for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2017 11:40:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48327) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cled8-0006bN-QY for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2017 11:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cled8-0005eV-Fk for bug-gnu-emacs@gnu.org; Wed, 08 Mar 2017 11:40:02 -0500 Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Mar 2017 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26011 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 26011@debbugs.gnu.org, michael.albinus@gmx.de, robert.marshall@codethink.co.uk Original-Received: via spool by 26011-done@debbugs.gnu.org id=D26011.148899114221649 (code D ref 26011); Wed, 08 Mar 2017 16:40:02 +0000 Original-Received: (at 26011-done) by debbugs.gnu.org; 8 Mar 2017 16:39:02 +0000 Original-Received: from localhost ([127.0.0.1]:46526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clec8-0005co-TJ for submit@debbugs.gnu.org; Wed, 08 Mar 2017 11:39:02 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:55023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clec6-0005cZ-SZ for 26011-done@debbugs.gnu.org; Wed, 08 Mar 2017 11:38:59 -0500 Original-Received: from detlef.gmx.de ([87.146.48.232]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M1n4s-1bxosT3GyQ-00to3m; Wed, 08 Mar 2017 17:38:51 +0100 In-Reply-To: <87efy8ue9q.fsf@ctlt579.codethink.co.uk> (Robert Marshall's message of "Wed, 08 Mar 2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Gnrxyw84yXC8AZt/3vlIEJuL4MnCIzg0m5F8E7q03z00N2OTRU5OBS3a X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130344 Archived-At: Robert Marshall 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.