简体   繁体   English

Vim可以打开的最大文件大小是多少? (64位)

[英]What is the largest file size that can be opened by Vim? (64-bit)

Apparantly Vim can edit 2GB on 32-bit machines (swap and backup disabled). 显然,Vim可以在32位机器上编辑2GB(禁用交换和备份)。 But for 64-bit machines, what is the limit? 但对于64位机器,限制是什么?

The documentation just states this: 文档只是说明了这一点:

Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is 32 bits. 当长整数为32位时,最大文件大小为2147483647字节(2 GB)。 Much more for 64 bit longs. 64位长的更多。 Also limited by available disk space for the |swap-file|. 还受| swap-file |的可用磁盘空间限制。

so "much more" will most likely run into your hard drive limitation since it goes to exabytes of alocatable size. 所以“更多”将最有可能遇到你的硬盘限制,因为它达到exabytes可更改的大小。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM