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.