[sf-lug] file limit in vi?

Michael Cheselka cheselka at gmail.com
Thu Sep 27 13:20:57 PDT 2007


2^64 = 18,446,744,073,709,551,616 bytes

I'm told this is larger than the number of electrons in the Universe(
although it seems
too small for that to me).

On 9/26/07, RBV <GoodWriter2548 at earthlink.net> wrote:
>
> For what it's worth, from this page, et al:
>
> http://www.plex86.org/linux2/vi-editor-file-limitation-4886.html
>
> "vim's maximum file size is limited only by the size of C long-integer
> variables on the hosting system. Therefore, on 32-bit Unixes (e.g., Linux
> i686 distributions), the maximum file size is 2147483647 bytes (2 Gbyte). On
> 64-bit Unixes (e.g., Linux x8664 distributions), the maximum file size is so
> staggeringly huge that it's not even worth thinking about -- probably 4
> terabytes (guesstimating)."
>
> As for me, I shudder to imagine the information architecture of an editable
> file a "mere" 2 GB in size, let alone 4 TB...
>
> Cheers & hope this helps,
> Riley
> SFO

-- 
When in the Potemkin Wired be a Potemkin Lain.




More information about the sf-lug mailing list