From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: maximum buffer size exceeded Date: Tue, 04 Sep 2007 15:13:45 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <87veaqr5l2.fsf@kobe.laptop> References: <87ejhgdux0.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188909642 6324 80.91.229.12 (4 Sep 2007 12:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 12:40:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 04 14:40:42 2007 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 1ISXhs-0003et-Dj for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Sep 2007 14:40:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISXhr-0002aT-2J for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Sep 2007 08:40:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (berkeley-unix) Cancel-Lock: sha1:Nuo8TvxXCE0Rg8xNGnQ7NSvzB2M= Original-Lines: 29 Original-NNTP-Posting-Host: 83.235.244.135 Original-X-Trace: news.sunsite.dk DXC=TodWKA^==; T@?0gJFJ]ae[YSB=nbEKnk[BeW^X3\7QfSL^MjWPhb63:>SPn^>P; W:54]HfPQd0VkAQ7e3P Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:151670 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:47195 Archived-At: On Mon, 03 Sep 2007 22:24:46 +0300, Eli Zaretskii wrote: >> From: Tim X >> Date: Mon, 03 Sep 2007 18:18:03 +1000 >> >> If your running on a 32 bit machine, I think your out of luck. You cannot >> increase the maximum buffer size. Under Emacs, I *think* you are limited to >> a maximum integer you can represent with 28 bits. > > 29 > >> If your on a 64 bit system, its the maximum you can represent with >> 62 bits. > > 61 > > (It's the size of an int minus 3.) Hi Eli, this is probably a silly question to ask, because I don't know the internals of Emacs so well; it's just a thought which I had though. Are there plans to make the buffer size use one of the types with "at least X bits", like uint32_t or uint64_t? Do you think there is a good reason *not* to do this (i.e. an absurd performance penalty on some of the supported platforms)? - Giorgos