On Jan 7, 4:16 pm, leggman7 <[email protected]> wrote: > I'm trying to open a 10Gb file on windows. I've installed the 64bit > version, so the file size isn't an issue from that side. However, I > see that the vim process uses more and more ram until it stopped at > about 5.9Gb (I have 6 total). Is there a way for me to open this file? > > Note: If anyone is interested in WHY I'm doing this, I need to open > the file, figure out how many lines it has, and write that number in > the first line of the file. In this case I need to write "231478708" > plus a return.
I think a lot of people missed your "on Windows" part, suggesting Unix tools for use. You could probably find a Windows version of these tools and run them if you're really stuck. I'm not sure how much it helps with memory usage, however you can try the largefile.vim plugin: http://www.vim.org/scripts/script.php?script_id=1506 -- 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
