Just to test this out, I created a 4.7G file of just '\n' and I see exactly the behavior described. I then tried a simple change (attached, based on 7.4.728) to have Vim use LONG_MAX for MAXLNUM rather than the hard-coded value. Now Vim didn't stop loading the file partway through, but it did get killed by the OOM killer after taking up 14G of RAM.
** Patch added: "lnum-long.diff" https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1374898/+attachment/4392692/+files/lnum-long.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1374898 Title: Vim has 32-bitlimits; annoying on really large files and 64-bit machine To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1374898/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
