I would like to know what is the maximum size that an vim or emacs editore can open & edit
What is the maximum size that an vim or emacs can open & edit?
748 Views Asked by Bala At
2
There are 2 best solutions below
2

For Emacs the size of a buffer (which a file needs to fit into) is dependent on the max size of an integer (which it uses to stores position locations). This is system dependent. On a 32 bit system, you can hit it. On a 64bit system, in practice, you are unlikely to (i.e. it's terabytes). If you do hit it, then you are likely to have other problems.
There is a package (vlf) which supports editing very large files, which works by virtue of not opening the whole file all at once, with a controllable chunk size.
The documentation just states this:
so "much more" will most likely run into your hard drive limitation since it goes to exabytes of alocatable size.