简体   繁体   中英

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). But for 64-bit machines, what is the limit?

The documentation just states this:

Maximum file size 2147483647 bytes (2 Gbyte) when a long integer is 32 bits. Much more for 64 bit longs. Also limited by available disk space for the |swap-file|.

so "much more" will most likely run into your hard drive limitation since it goes to exabytes of alocatable size.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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