GNU bug report logs - #8528
24.0.50; 32-bit Emacs with apparent 128M buffer size limit

Previous Next

Package: emacs;

Reported by: Evans Winner <ego111 <at> gmail.com>

Date: Wed, 20 Apr 2011 21:05:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Evans Winner <ego111 <at> gmail.com>
Subject: bug#8528: closed (Re: bug#8528: 24.0.50; 32-bit Emacs with
 apparent 128M buffer size limit)
Date: Fri, 29 Apr 2011 19:50:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#8528: 24.0.50; 32-bit Emacs with apparent 128M buffer size limit

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8528 <at> debbugs.gnu.org.

-- 
8528: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8528
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: eggert <at> cs.ucla.edu, ego111 <at> gmail.com
Cc: 8528-done <at> debbugs.gnu.org
Subject: Re: bug#8528: 24.0.50;
	32-bit Emacs with apparent 128M buffer size limit
Date: Fri, 29 Apr 2011 22:49:16 +0300
> Date: Thu, 21 Apr 2011 16:20:54 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 8528 <at> debbugs.gnu.org, ego111 <at> gmail.com
> 
> If no one objects, I will commit these changes in a week or so.

No one objected, so I installed this.

[Message part 3 (message/rfc822, inline)]
From: Evans Winner <ego111 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; 32-bit Emacs with apparent 128M buffer size limit
Date: Wed, 20 Apr 2011 15:04:06 -0600
My understanding is that a 32-bit GNU Emacs should be able
to open files up to 512 M.  If I am wrong about that, please
let me know.  I have compiled Emacs trunk from source
several times in the last couple of months and somewhere in
the last month or so it seems that the limit on my machine
has become 128 M.  My math could be off, but on the
assumption that 128 Mebibytes = 2^27 bytes = 1024 * 131072
bytes, and starting with emacs -Q I tried:

    $ dd if=/dev/zero of=testfile bs=1024 count=131072

and tried to open the file, and got: "Maximum buffer size
exceeded".  Then I tried one K less:

    $ dd if=/dev/zero of=testfile bs=1024 count=131071

and the buffer opened.

I have verified using the `top' command that there is
sufficient free memory for the files.

Also, for what it's worth:

    ELISP> most-positive-fixnum ==> 536870911

I discovered this as a result of not being able to open a
large (~160Mb) .pdf file that I had earlier been able to
open.  Please let me know if there is any other information
I can provide, or if there is something simple I am doing
wrong.


In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.0.8)
 of 2011-04-19 on braintron
Windowing system distributor `The X.Org Foundation', version 11.0.11001000
configured using `configure  '--with-x-toolkit=gtk3''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t



This bug report was last modified 14 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.