From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: opening large files (few hundred meg) Date: Mon, 28 Jan 2008 21:31:39 +0200 Message-ID: References: <1f94fef6-a335-4ce5-8d4b-7e87025a28dc@e32g2000prn.googlegroups.com> <87r6g1esga.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1201548963 16294 80.91.229.12 (28 Jan 2008 19:36:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2008 19:36:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 28 20:36:22 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JJZmH-00011F-FK for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jan 2008 20:36:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJZlq-0004cY-HD for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jan 2008 14:35:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJZhs-0003UW-T1 for help-gnu-emacs@gnu.org; Mon, 28 Jan 2008 14:31:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJZhq-0003TC-AH for help-gnu-emacs@gnu.org; Mon, 28 Jan 2008 14:31:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJZhp-0003T6-V5 for help-gnu-emacs@gnu.org; Mon, 28 Jan 2008 14:31:46 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJZhp-0005SW-JQ for help-gnu-emacs@gnu.org; Mon, 28 Jan 2008 14:31:45 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-126-42.inter.net.il [84.229.126.42]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id IZQ16394 (AUTH halo1); Mon, 28 Jan 2008 21:29:11 +0200 (IST) In-reply-to: <87r6g1esga.fsf@gmx.de> (message from Sven Joachim on Mon, 28 Jan 2008 19:05:41 +0100) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51039 Archived-At: > From: Sven Joachim > Date: Mon, 28 Jan 2008 19:05:41 +0100 > > > • How can i increase the limit? > > Use a 64-bit system. Yes, that's the only practical way, sans splitting the file outside of Emacs. > > • is there a general solution to work with files (elisp) without > > actually loading the whole file? > > Not really, since visiting a file reads all of it into an Emacs buffer. The problem is not with the buffer size per se, it's with the fact that Emacs needs to be able to address each byte of the file's text with an Emacs integer data type, which is 29 bit wide on 32-bit machines.