Loading ...
Sorry, an error occurred while loading the content.

Re: crashing gvim

Expand Messages
  • Benji Fisher
    ... I figured out how to make the file: make a line 0123456789 , then yy9p then :%j! and repeat the last two steps until you have a million
    Message 1 of 4 , Feb 27, 2003
    View Source
    • 0 Attachment
      Markus Fischer wrote:
      >
      > Am Donnerstag, 27.02.03 um 15:10 Uhr schrieb Benji Fisher:
      >
      >
      >
      >> It looks like Vim ran out of memory (on the stack, maybe) and
      >> that the syntax routines were involved. What was the file type?
      >
      >
      > it was an sql file
      >
      >> (I am trying to reproduce the problem, but I am running out of
      >> patience. I tried both 100000a0123456789<C-V><C-M><Esc> and
      >> a0123456789<C-V><C-M><Esc>yy99999p:%j! and both methods take a long
      >> time...)

      I figured out how to make the file: make a line "0123456789<C-M>", then
      "yy9p" then ":%j!" and repeat the last two steps until you have a million
      characters. Then, try the substitution and listen to the hard disk go
      chugga-chugga. (no crash, though.)

      >>> my vim version is the latest official binary (6.1.320)
      >>
      >> Not quite the latest: I posted 6.1.358 a couple of days ago...
      >
      > ah, seems to be fixed in that version.
      > I tried the same file and it worked fine.

      I may be wrong, but I suspect it has more to do with the status of your
      memory than with the version of vim. Either way, it does not sound Mac-specific.

      --Benji Fisher
    Your message has been successfully submitted and would be delivered to recipients shortly.