On 4/4/07, Max Dyckhoff <[EMAIL PROTECTED]> wrote:
On 4/4/07, Yakov Lerner <[EMAIL PROTECTED]> wrote:
> Max,
>
> I recalled two more things. Is your 'hidden' option set ? If it's set,
> vim *will* grow. With 'hidden' set, vim will keep in memory much data
> about old buffers. If you want to minimize memory, first thing you'd do is
> ':set nohidden'. To check your current state, 'set hidden?'.
>
> Second important thing is :bw. Even with ':set nohidden', vim will
> remember some data for every file it ever visited. To free this data
> completely, you need to :ls!, then :bw for every unused buffer.
>
> I think these two things will decrease vim's memory footprint
> (in case you had 'set hidden').
>
> Yakov
I do have 'hidden' set, because I like to keep things around. :ls! shows that I
currently have about 550 buffers open. ...
we do have a large code base!
Then get another 1-2 GB of RAM. It's not called "memory leak"
when program allocates memory according to its functionality.
Yakov