From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luke Hassell Newsgroups: gmane.emacs.help Subject: Help: Large File Support (> 1GB) / Solaris 8 Date: Tue, 17 Sep 2002 08:23:31 -0700 (PDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20020917152331.68551.qmail@web13304.mail.yahoo.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032276249 15345 127.0.0.1 (17 Sep 2002 15:24:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2002 15:24:09 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17rKCu-0003zN-00 for ; Tue, 17 Sep 2002 17:24:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17rKDB-0001UK-00; Tue, 17 Sep 2002 11:24:25 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17rKCM-00016P-00 for help-gnu-emacs@gnu.org; Tue, 17 Sep 2002 11:23:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17rKCK-00015f-00 for help-gnu-emacs@gnu.org; Tue, 17 Sep 2002 11:23:33 -0400 Original-Received: from web13304.mail.yahoo.com ([216.136.175.40]) by monty-python.gnu.org with smtp (Exim 4.10) id 17rKCK-00015Y-00 for help-gnu-emacs@gnu.org; Tue, 17 Sep 2002 11:23:32 -0400 Original-Received: from [4.2.192.5] by web13304.mail.yahoo.com via HTTP; Tue, 17 Sep 2002 08:23:31 PDT Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1539 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1539 Hello Emacs Users - I have a need to read in large files and need some advice. First, from the FAQ: Old versions (i.e., anything before 19.29) of Emacs had problems editing files larger than 8 megabytes. As of version 19.29, the maximum buffer size is at least 2^27-1, or 134,217,727 bytes, or 132 MBytes. Emacs 20 can be compiled on some 64-bit systems in a way that enlarges the buffer size up to 576,460,752,303,423,487 bytes, or 549,755,813 GBytes. It's the phrase "in a way" that has got me puzzled. My compile platform is a Solaris 8 sparc box, with the Sun WSPro compilers. I have followed the guidance in etc/MACHINES: To build a 64-bit Emacs (with larger maximum buffer size and including large file support) on a Solaris system which supports 64-bit executables, use the Sun compiler, configuring something like this (see the cc documentation for information on 64-bit compilation): env CC="cc -xarch=v9" ./configure Yet I still cannot break a barrier of 256MB, even though I have a very cleanly compiled version of emacs 21.2, that are 64bit executables: $ file emacs* emacs: ELF 64-bit MSB executable SPARCV9 Version 1 emacs-21.2: ELF 64-bit MSB executable SPARCV9 Version 1 emacsclient: ELF 64-bit MSB executable SPARCV9 Version 1 549,755,813 GBytes? I'd be happy with 1 GB at this point. Any help is appreciated. Thanks in advance, Luke ===== Luke Hassell Public Key available at: http://www.keyserver.net:11371/pks/lookup?op=get&search=0x8C85ABD7 __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com