On Sat, Feb 23, 2008 at 01:25:13AM -0500, James Vega wrote: > On Sun, Jan 06, 2008 at 07:45:18AM +0100, Frederik Schwarzer wrote: > > I have a large xml file (12,7 GiB) which I wanted to open in vim to > > check some things before sending it to a parser we use. > > vim says > > 'file.xml' [New File] > > and shows an empty buffer. > > This seems to be a more base issue than Vim. Creating a large file (5 > GB) and writing a very simple C program to open(2) and read(2) from it is > unable to read anything from the file.
Actually, sed had trashed the large file I had made so I was getting zero bytes read since it was a zero byte file. When tested with an actual large file, it seems to work fine for me. It takes a really long time for Vim to open the file, but it does open it. James -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature

