awk - How does vim read files?
我想大声告诉你
我想大声告诉你 2017-05-16 16:36:13
0
2
635

I found that notepad++ was very stuck when reading large files, but gvim could process it more smoothly.
Is vim a line editor similar to ed, which processes files line by line or partially?

我想大声告诉你
我想大声告诉你

reply all (2)
PHPzhong

No, vim is all loaded into the memory. There have been incidents in the past where using vim to view log files of several gigabytes directly filled up the server memory. Therefore, it is generally recommended to use less to view large files on the server side

    phpcn_u1582

    The maximum data that vim can read depends on your memory and vim version (64-bit will be larger). Vim can open very large files, but generally there are corresponding programs for opening and processing large files under Linux, which are better than vim.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!