From: Harish Narayanan <harish@gamebox.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Maximum buffer size exceeded
Date: Tue, 04 May 2004 23:26:17 -0400 [thread overview]
Message-ID: <40985ED9.5050202@gamebox.net> (raw)
In-Reply-To: <7iekpzljjq.fsf@neoscale.com>
Thanks Kin.
I do things like that when I need to edit the last or first few lines.
What if the portions I need edited are at some arbitrary line numbers in
the middle? I don't always know exactly where they will be.
Harish
Kin Cho wrote:
>Harish Narayanan <harish@gamebox.net> writes:
>
>
>
>>I've been trying to open a large file (208 MB) but I receive the
>>error "Maximum buffer size exceeded" and Emacs fails to open the
>>file. This is Emacs 21.2.1 on a Redhat GNU/Linux 9 box.
>>
>>I tried searching in the archives, and noticed this has been
>>asked before, but the responses don't seem encouraging. Is there
>>a way of working around this that's arisen in the recent past?
>>
>>
>
>Use head/tail/dd to extract the small part of the file you want
>to edit, edit that small file, then use cat/head/tail/dd to put
>it back into your original file.
>
>Let's say you want to edit the last line of the file 208MB, which
>is 1 million lines long:
>
>tail -1 208MB > foo
>emacs foo
>(head -999999 208MB; cat foo) > new-208MB
>
>-kin
>
>_______________________________________________
>Help-gnu-emacs mailing list
>Help-gnu-emacs@gnu.org
>http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>
>
>
next prev parent reply other threads:[~2004-05-05 3:26 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3364.1083718441.1061.help-gnu-emacs@gnu.org>
2004-05-05 2:00 ` Maximum buffer size exceeded Kin Cho
2004-05-05 3:26 ` Harish Narayanan [this message]
[not found] ` <mailman.3382.1083727713.1061.help-gnu-emacs@gnu.org>
2004-05-05 5:18 ` Kin Cho
2004-05-05 9:36 ` Thien-Thi Nguyen
2004-05-05 5:53 ` Marco Gidde
2004-05-05 11:22 ` Eli Zaretskii
[not found] ` <mailman.3431.1083752452.1061.help-gnu-emacs@gnu.org>
2004-05-05 11:45 ` Marco Gidde
2004-05-06 6:26 ` Eli Zaretskii
[not found] ` <mailman.3625.1083821602.1061.help-gnu-emacs@gnu.org>
2004-05-06 8:21 ` Marco Gidde
2004-05-06 12:12 ` Thien-Thi Nguyen
2004-05-05 15:56 ` Miles Bader
2004-05-05 19:35 ` Stefan Monnier
2004-05-06 6:30 ` Eli Zaretskii
2004-05-05 17:16 ` Michael Welsh Duggan
[not found] ` <mailman.3511.1083777609.1061.help-gnu-emacs@gnu.org>
2004-05-05 19:37 ` upro
2004-05-05 5:50 ` Matthieu Moy
2004-05-05 19:31 ` Stefan Monnier
2007-09-02 6:44 maximum " Daniel C. Bastos
2007-09-02 11:59 ` Emilio Lopes
2007-09-02 21:39 ` Daniel C. Bastos
2007-09-03 8:18 ` Tim X
2007-09-03 12:52 ` Daniel C. Bastos
2007-09-03 19:24 ` Eli Zaretskii
2007-09-04 11:07 ` Johan Bockgård
[not found] ` <mailman.254.1188847491.18990.help-gnu-emacs@gnu.org>
2007-09-04 12:13 ` Giorgos Keramidas
2007-09-04 14:48 ` Peter Dyballa
[not found] ` <mailman.308.1188917334.18990.help-gnu-emacs@gnu.org>
2007-09-04 18:13 ` Emilio Lopes
2007-09-04 19:10 ` Giorgos Keramidas
2007-09-04 20:22 ` Eli Zaretskii
2007-09-05 12:37 ` Kim F. Storm
2007-09-05 15:00 ` Stefan Monnier
2007-09-05 15:14 ` Jason Rumney
2007-09-05 16:08 ` Stefan Monnier
2007-09-06 4:59 ` Richard Stallman
2007-09-06 5:44 ` David Kastrup
2007-09-02 19:24 ` Eli Zaretskii
2007-09-03 23:25 ` Glenn Morris
2007-09-04 8:20 ` Tim X
2007-09-04 17:31 ` Glenn Morris
2007-09-05 8:20 ` Tim X
2007-09-04 17:53 ` Daniel C. Bastos
-- strict thread matches above, loose matches on Subject: below --
2004-05-05 0:52 Maximum " Harish Narayanan
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=40985ED9.5050202@gamebox.net \
--to=harish@gamebox.net \
--cc=help-gnu-emacs@gnu.org \
/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.