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 10:05:13 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7iad9sbdiu.fsf@neoscale.com> References: <7id6epp3z7.fsf@neoscale.com> <7ir834bgjx.fsf@neoscale.com> <3F4F8347.1080701@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062177542 29593 80.91.224.253 (29 Aug 2003 17:19:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2003 17:19:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 19:19:00 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 19smto-0007bw-00 for ; Fri, 29 Aug 2003 19:19:00 +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 19smrR-00041t-Bc for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2003 13:16:33 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!12.24.46.66!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-NNTP-Posting-Host: 12.24.46.66 Original-X-Trace: news.uni-berlin.de 1062176715 11637014 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:116258 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:12176 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12176 Kevin Rodgers writes: > Kin Cho wrote: > > > Phillip Lord writes: > >>>>>>>"Kin" == Kin Cho writes: > >> 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? > > > It has to insert the file contents into a buffer so you can edit it. I wasn't trying to edit the file. I was copying /large-file (dwim style) from a (tramp) dired buffer to a (non-tramp) dired buffer. -kin > > >> Try it locally. You would still have the same problem. > > Manually using scp works fine. > > The copy succeeded. The failure occurred trying to insert the local > > copy of the file into an Emacs buffer. > > -- > Kevin Rodgers