From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kin Cho Newsgroups: gmane.emacs.help Subject: Re: tramp: Maximum buffer size exceeded Date: 29 Aug 2003 08:59:46 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7ir834bgjx.fsf@neoscale.com> References: <7id6epp3z7.fsf@neoscale.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062174052 21553 80.91.224.253 (29 Aug 2003 16:20:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2003 16:20:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 18:20:49 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19slzV-00046v-00 for ; Fri, 29 Aug 2003 18:20:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19slpW-0004Xo-4i for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2003 12:10:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news-feed1.de1.concert.net!fu-berlin.de!uni-berlin.de!12.24.46.66!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 12.24.46.66 Original-X-Trace: news.uni-berlin.de 1062172787 12111197 12.24.46.66 (16 [151019]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:116253 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12171 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12171 Phillip Lord writes: > >>>>> "Kin" == Kin Cho writes: > > Kin> Hi, > > 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? > Try it locally. You would still have the same problem. Manually using scp works fine. -kin > There is essentially no way around this, other than bad hacks, like > splitting the file up into two. > > Phil