> John Little wrote:
> > Over on vim_use, in suggesting a solution...
> > With this vim's heap grew to 512 MiB...
>
> > So I see two problems:
> > 1) Profligate memory use...

Bram responded:
> Or it's text saved for undo.  Try setting 'undolevels' to -1.

I set undolevels=-1 and the heap remained at about 7 MiB.

> > 2) Syntax colouring for vim help doesn't cope with very long lines.

Bram responded:
> What is 'synmaxcol' set to?

3000. Trying various settings for synmaxcol, :syntax on takes:
100     10 s
200     24 s
500     56 s
1000   114 s

(this is on a 2.2 GHz dual core Athlon 64, Kubuntu).

There are syntax files with very long lines, f.ex. php.vim, that have
no trouble, so reducing synmaxcol for help files generally doesn't
seem warranted.

Regards, John

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui