Thursday, April 17, 2014

Re: Opening large files?

On 2014-04-16 09:58, Adrian Nagle wrote:
> 'm helping another user open a large, 3Gb, file. The standard
> windows editors balk, so I recommended VIM. Unfortunately, even
> vim crashes after scrolling some amount. For instance, he can't go
> straight to the end of file.
>
> The work station is Windows 7, 64 bit, with 32Gb of RAM. Are there
> any settings to modify to make vim more stable with large files, or
> is there some Windows performance limitation and just out of luck?

In addition to the LargeFile tips, for certain types of edits, using
a stream editor such as "sed" will usually let you operate on
arbitrary-sized files, as it only processes one line at a time
(modulo what you keep in the hold-space). If you detail the types of
transformations/changes that you are hoping to make, there might a
way to do it that can be done regardless of the file-size.

-tim


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: