all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Subject: Re: Reading huge files
Date: Thu, 11 Jan 2007 00:33:51 +0200	[thread overview]
Message-ID: <87fyaia4vk.fsf@kobe.laptop> (raw)
In-Reply-To: mailman.2938.1168460877.2155.help-gnu-emacs@gnu.org

On Wed, 10 Jan 2007 22:27:57 +0200, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Mathias Dahl <mathias.dahl@gmail.com>
>> Date: Wed, 10 Jan 2007 08:39:16 +0100
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> > If this is a 32-bit machine, then the Lisp integer overflows at
>> > 256MB.  If that's a 64-bit machine, then you don't need any tricks
>> > to edit 700MB files.
>> 
>> Okay. Then I probably never scrolled that far when I tested :)
>
> If you never scrolled past 256MB, then you indeed wouldn't notice.
>
>> I guess
>> the head + tail trick would work though, I suspect those tools does
>> not have this limitation.
>
> Yes, that should work.

FWIW, I've also uses split(1) with great success, when I had to
process *huge* log files and tcpdump output, ranging from 500 MB
to almost 1 GB of text.

Handling multi-hundred-megabyte files works fine, for instance,
with something like:

    freebsd % split -b 50m huge-file

or with:

    linux % split -b 50000000 huge-file

  parent reply	other threads:[~2007-01-10 22:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-08 22:17 Reading huge files Leonid Grinberg
2007-01-09 15:24 ` Kevin Rodgers
2007-01-09 22:03   ` Eli Zaretskii
2007-01-11  6:30     ` Kevin Rodgers
     [not found]     ` <mailman.2957.1168497037.2155.help-gnu-emacs@gnu.org>
2007-01-11  6:55       ` Stefan Monnier
     [not found]   ` <mailman.2912.1168380222.2155.help-gnu-emacs@gnu.org>
2007-01-09 23:29     ` Mathias Dahl
2007-01-10  0:14       ` Leonid Grinberg
     [not found]       ` <mailman.2922.1168388054.2155.help-gnu-emacs@gnu.org>
2007-01-10  0:23         ` Mathias Dahl
2007-01-10  4:11       ` Eli Zaretskii
     [not found]       ` <mailman.2923.1168402283.2155.help-gnu-emacs@gnu.org>
2007-01-10  7:39         ` Mathias Dahl
2007-01-10 20:27           ` Eli Zaretskii
     [not found]           ` <mailman.2938.1168460877.2155.help-gnu-emacs@gnu.org>
2007-01-10 22:33             ` Giorgos Keramidas [this message]
2007-01-11  5:54       ` Stefan Monnier
2007-01-11  9:49         ` Mathias Dahl
2007-01-11 18:06           ` Markus Triska
2007-01-12  8:36             ` Mathias Dahl
     [not found] ` <mailman.2897.1168356311.2155.help-gnu-emacs@gnu.org>
2007-01-09 20:42   ` Andreas Roehler
2007-01-09 20:42   ` Andreas Roehler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fyaia4vk.fsf@kobe.laptop \
    --to=keramida@ceid.upatras.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.