[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: opening large files (few hundred meg)
From: |
Sven Joachim |
Subject: |
Re: opening large files (few hundred meg) |
Date: |
Mon, 28 Jan 2008 19:05:41 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
On 2008-01-28 18:35 +0100, Xah Lee wrote:
> If i want to process a huge file (my weekly log file is about 0.5GB),
> what can i do?
If it is so huge, you may want to rotate it daily rather than weekly.
See logrotate(8), for instance.
> i tried to open and it says maximum buffer size exceeded.
>
> • How can i increase the limit?
Use a 64-bit system.
> • is there a general solution to work with files (elisp) without
> actually loading the whole file?
Not really, since visiting a file reads all of it into an Emacs buffer.
If the file is too large, you can split(1) it into smaller chunks that
Emacs can process.
Sven
- opening large files (few hundred meg), Xah Lee, 2008/01/28
- Re: opening large files (few hundred meg),
Sven Joachim <=
- Re: opening large files (few hundred meg), Eli Zaretskii, 2008/01/28
- Re: opening large files (few hundred meg), Andreas Röhler, 2008/01/28
- Message not available
- Re: opening large files (few hundred meg), Jason Rumney, 2008/01/28
- Re: opening large files (few hundred meg), Andreas Röhler, 2008/01/29
- Re: opening large files (few hundred meg), Thierry Volpiatto, 2008/01/29
- Message not available
- Re: opening large files (few hundred meg), Tim X, 2008/01/29
- Re: opening large files (few hundred meg), Xah Lee, 2008/01/29
- Re: opening large files (few hundred meg), Tom Tromey, 2008/01/29
- Re: opening large files (few hundred meg), Eli Zaretskii, 2008/01/29
- Message not available
- Re: opening large files (few hundred meg), Stefan Monnier, 2008/01/30