Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an 8GB text file which contains output from a structural analysis program. The output is in the form of lines corresponding to time steps - with each line representing state of a system at a time step.

Notepad++ refuses to open the file as expected. While gVim crashes after a minute full of attempts to open the file.

From what I have read, gVim is capable of handling such large files. So is there some adjustment that needs to be done in gVim settings? Or is there some better software?

share|improve this question
related:… – akira Oct 17 '14 at 12:22
up vote 3 down vote accepted

Vim has many options and features (syntax highliting, swap file, etc), some which should be disabled to better (faster) open a large file : try those

share|improve this answer
in addition, you should probably change your statusbar (if it shows lines, etc). And disable modeline? etc. Another good list : – Olivier Dulac Jan 2 '13 at 14:40 This is what I get now. Atleast its not crashing. – OrangeRind Jan 2 '13 at 15:42
it's trying to load it all in memory. You can add swap size ... or try another editor that will only load the part you look at. Or you should use "less" if you just need to watch the content of the file and not edit it (or use head & tail, and grep, to trim out whatever you don't need). – Olivier Dulac Jan 2 '13 at 16:20
or even try the ones suggested in this so page :… (glogg looks nice) – Olivier Dulac Jan 2 '13 at 16:23
ok, so it was loading it all in the ram, so for the time being I fetched a computer with 16GB RAM and gVim is up and running. problem solved for now - altough I am trying glogg and other options in the meantime. Thanks! – OrangeRind Jan 2 '13 at 17:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .