GNU bug report logs - #2790
emacs 22.1.1 cannot open 5GB file on 64GB 64-bit Linux box

Previous Next

Package: emacs;

Reported by: Mike Coleman <tutufan <at> gmail.com>

Date: Thu, 26 Mar 2009 16:00:03 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #160 received at 2790 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: rms <at> gnu.org
Cc: 2790 <at> debbugs.gnu.org, tutufan <at> gmail.com
Subject: Re: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit GNU/Linux box
Date: Sun, 29 Mar 2009 16:14:56 -0400
>     There was an incorrect check that limited the size to INT_MAX/4
>     (i.e. 512MB for systems where ints are 32bit).  I've removed this check
>     in the CVS code (see patch below).  I am now able to open an 800MB file
>     with this check removed.

> After you visit such a file, what does (point-max) return?

It returns the correct value.

> Perhaps you're talking only about 64-bit systems?

Yes, all this discussion is in this context.  For 32bit systems, the
256MB limit kicks in long before we hit any of those problems.


        Stefan




This bug report was last modified 13 years and 315 days ago.

Previous Next


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