GNU bug report logs - #69492
File too big for Emacs?

Previous Next

Package: emacs;

Reported by: Robert Boyer <robertstephenboyer <at> gmail.com>

Date: Fri, 1 Mar 2024 23:33:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 69492 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Boyer <robertstephenboyer <at> gmail.com>
Cc: moore <at> cs.utexas.edu, rms <at> gnu.org, 69492 <at> debbugs.gnu.org, bundy <at> ed.ac.uk,
 grant <at> imandra.ai, stassats <at> gmail.com
Subject: Re: bug#69492: File too big for Emacs?
Date: Sat, 02 Mar 2024 08:54:44 +0200
> Cc: J Moore <moore <at> cs.utexas.edu>, Alan Bundy <bundy <at> ed.ac.uk>,
>  Grant Passmore <grant <at> imandra.ai>, rms <at> gnu.org,
>  Stas Boukarev <stassats <at> gmail.com>
> From: Robert Boyer <robertstephenboyer <at> gmail.com>
> Date: Fri, 1 Mar 2024 17:30:56 -0600
> 
> Dear Emacs bug exterminators,
> 
> The 1 gb file for which I give a url below does not seem to work in Emacs.
> 
> The file enumerates the primes below 10^9, so it would be very handy to
> have around.
> 
> I can get the file into an Emacs buffer in literal mode.  Thanks for that.
> 
> But then I cannot move to the bottom, i.e., using M->.  In fact, in the attempt to
> move to the bottom, things go so badly that I have to reboot my $100 
> Lenovo Chromebook.
> 
> Is it just too big for Emacs to handle?

Since your Emacs is a 64-bit build, a 1GB file shouldn't be too big,
provided that your system has enough virtual memory to support reading
it into memory (which might require more than 1GB, perhaps up to 2GB).
If Emacs says "Memory exhausted" when you visit that file, try
enlarging the size of swap for your system.




This bug report was last modified 1 year and 61 days ago.

Previous Next


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