Bug#459399: vim does not see lage files and overwrites them as new on :wq

James Vega jamessan at debian.org
Thu Feb 28 15:44:52 UTC 2008


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 <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20080228/9aeedb4d/attachment.pgp 


More information about the pkg-vim-maintainers mailing list