Tuesday, February 13, 2018

Re: Will vim copy all file content to memory when i open a file?

On 12/02/2018 20:58, Bram Moolenaar wrote:
>
> Zhigang Song wrote:
>
>> Will vim copy all file content to memory when I open a file?
>
> Vim will read the file, mainly to count the number of lines, so you can
> do "1234G".
>
> Not all of the file is kept in memory, especially if it's a big file.
> Check out the 'maxmem' and 'maxmemtot' options.

With noswapfile, though, those parameters are ignored, aren't they? The
documentation doesn't mention that.

Life.


--
--
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:

Post a Comment