From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Boyer Newsgroups: gmane.emacs.bugs Subject: bug#69492: File too big for Emacs? Date: Sat, 2 Mar 2024 02:54:47 -0600 Message-ID: References: <86wmqlp1hn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004ea75b0612a9a738" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25301"; mail-complaints-to="usenet@ciao.gmane.io" Cc: moore@cs.utexas.edu, rms@gnu.org, 69492@debbugs.gnu.org, bundy@ed.ac.uk, grant@imandra.ai, stassats@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 02 09:58:00 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rgLBv-0006Lo-ME for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Mar 2024 09:57:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgLBX-00084S-WF; Sat, 02 Mar 2024 03:57:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgLBV-000849-Pg for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2024 03:57:33 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgLBV-0007oS-Ef for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2024 03:57:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rgLBx-0003ou-Le for bug-gnu-emacs@gnu.org; Sat, 02 Mar 2024 03:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Boyer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Mar 2024 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69492 X-GNU-PR-Package: emacs Original-Received: via spool by 69492-submit@debbugs.gnu.org id=B69492.170936982514609 (code B ref 69492); Sat, 02 Mar 2024 08:58:01 +0000 Original-Received: (at 69492) by debbugs.gnu.org; 2 Mar 2024 08:57:05 +0000 Original-Received: from localhost ([127.0.0.1]:37993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgLB3-0003nY-8S for submit@debbugs.gnu.org; Sat, 02 Mar 2024 03:57:05 -0500 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:56357) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgLAy-0003n1-Sj for 69492@debbugs.gnu.org; Sat, 02 Mar 2024 03:57:03 -0500 Original-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so4636347a12.0 for <69492@debbugs.gnu.org>; Sat, 02 Mar 2024 00:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709369726; x=1709974526; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hUGo3ACvVMA8GLesJ1QoqMFpvBg59eaJNgCcxxo9zho=; b=HEdwYFx0Uk+2lvhDvI1iWpo2IHMOGzXFVytdRCqYTguSyrs4O2Gdx26BNmKJxu4ruN TUPMH4oRgfrvlbUW7pwaKe6hEuNJho2iUfyDFcznB79YoiU/ytf7JDm4dZ1KbeEuY3cY HpgogswQfHU6WS+xWZd1LWuj0H5DUi2AR7La6soX7pRXdua/cVZ1RIkHn3YSNXkjC59h ZgrYcUljX/qLZjPCM6L9Yh0/PN+/xiB+7uj+Vfu9ercNH6ljLiBymBnNMaGIGPHoBZj9 RA+tdyYY3/Ndc5V4eXN/UR9kmCrU6GAMKRzC8ee1JPPxoehRMcASUfnoRjs3lMjKehz7 YPbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709369726; x=1709974526; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hUGo3ACvVMA8GLesJ1QoqMFpvBg59eaJNgCcxxo9zho=; b=tyDTXHUGxgeJrOak1EwPsrSB+C7B/m47byDIdwpSfym2rea9jyR9lliCQ2x5J36TjV dd8bRS70QQtIYxzxQj+MwLhIElP+OKGz54w3zo85qYoTaAhX7UxuswrbdkmdPwJNqT5b jX5ijt8x47n/bQPhOXMS/BCB4v8ME/6Dej+s9Sabj+2xQMUJ6pbIP/FY6fNphw47T64B lIemsDdnOiBdnKMJPw/lBuCOuQ9DRck7PWv9jT8L3Css/y3nsQHbtTLHGvFadgbyStwq 9yRbjZwW5pxtRwRyuhTX7lEbcLvV8r6rqf/3Ph98Im5itSC9rVtE63sYvohY5XdWgC3W uxjg== X-Gm-Message-State: AOJu0YwUGTx3TNL0y3GhJG6H86esGFWg9QFMEhi9K3ia7w4+PwjocnRC 3jGVcBX+u8j9azLMaYovzifa1rfYi0SIY0RbULcSo25zth6bz1Y29ccBoi0EEZI2VworQRH44kO 9gedIYvhyWE1bpHENZu5xewSYUEY= X-Google-Smtp-Source: AGHT+IHtpJX7rsKhT6a27Cq3otBfm09dEM3syEWSM5jz1+y9AgPL1ONcShIHXbubB40RQqQ7L9UsKO3nsInJiAQSWQI= X-Received: by 2002:a50:cc08:0:b0:566:8fa7:5d0b with SMTP id m8-20020a50cc08000000b005668fa75d0bmr2790777edi.3.1709369725983; Sat, 02 Mar 2024 00:55:25 -0800 (PST) In-Reply-To: <86wmqlp1hn.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280893 Archived-At: --0000000000004ea75b0612a9a738 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I did not seem to have trouble finding the file, literally. It showed up ok in a buffer, as I said in my bug report. The problem I had was that I could not move to the bottom of the buffer with M->. Can you? Bob On Sat, Mar 2, 2024 at 12:55=E2=80=AFAM Eli Zaretskii wrote: > > Cc: J Moore , Alan Bundy , > > Grant Passmore , rms@gnu.org, > > Stas Boukarev > > From: Robert Boyer > > 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. > --0000000000004ea75b0612a9a738 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I did not seem to have trouble finding the file, literally= .

It showed up ok in a buffer, as I said in my bug repor= t.=C2=A0=C2=A0

The problem I had was that I could = not move to the bottom of the buffer with M->.

Can yo= u?

Bob


On Sat, Mar 2, 20= 24 at 12:55=E2=80=AFAM Eli Zaretskii <el= iz@gnu.org> wrote:
> Cc: J Moore <moore@cs.utexas.edu>, Alan Bundy <bundy@ed.ac.uk>,
>=C2=A0 Grant Passmore <grant@imandra.ai>, rms@gnu.org,
>=C2=A0 Stas Boukarev <stassats@gmail.com>
> From: Robert Boyer <robertstephenboyer@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 Em= acs.
>
> The file enumerates the primes below 10^9, so it would be very handy t= o
> have around.
>
> I can get the file into an Emacs buffer in literal mode.=C2=A0 Thanks = for that.
>
> But then I cannot move to the bottom, i.e., using M->.=C2=A0 In fac= t, in the attempt to
> move to the bottom, things go so badly that I have to reboot my $100 <= br> > 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.
--0000000000004ea75b0612a9a738--