From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: tramp: Maximum buffer size exceeded Date: Fri, 29 Aug 2003 10:45:59 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F4F8347.1080701@yahoo.com> References: <7id6epp3z7.fsf@neoscale.com> <7ir834bgjx.fsf@neoscale.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1062176776 27783 80.91.224.253 (29 Aug 2003 17:06:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2003 17:06:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 29 19:06:14 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 19smhS-0006rS-00 for ; Fri, 29 Aug 2003 19:06:14 +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 19smcC-00060L-Lu for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Aug 2003 13:00:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: news.uni-berlin.de 1062175529 11721636 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:116257 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:12175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12175 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. >>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