Re: opening *really* big files
I am surprised because I remember opening extemely big files with vim (log
files also) when all else failed.
It was actually on aix but it saved me as the built in editors didn't work.
On the other hand I noticed that vim doesn't like files with very long
----- Original Message -----
From: "Ron Aaron" <ron@...>
Sent: Wednesday, December 03, 2003 3:33 AM
Subject: opening *really* big files
> I innocently tried to open a log file (from a debugging run) and vim was
> unable to handle it. The file is 1Gig in size, so perhaps I shouldn't
> expect vim to deal with it.
> But I would like some reasonable way of dealing with extremely large
> files in vim. Dragging my machine down while it counts all the lines in
> the file (and uses 900Meg++ of RAM on my XP box) is not a reasonable
> It doesn't seem that 'maxmem' etc settings are useful on Windows. I
> have 'maxmem=357378' and 'maxmemtot=357378', yet vim was taking every
> byte of RAM in the system, making it page and thrash horribly.
> I would like to see a 'bigfile' option, which might tell vim that if a
> file is bigger than bigfile megabytes (maybe default to 50% of available
> RAM or something) that vim would load it as a 'bigfile', perhaps with
> reduced functionality or something. It is a *very* common thing to want
> to view very large files without editing them, and currently vim does a
> poor job of dealing with VLFs.