On Sun, 11 Oct 2009 15:32:57 -0700, Linda W wrote:

> Under maxmem, it says:
> 
> 'maxmemtot' 'mmt'       number  (default between 2048 and 10240 (system
>                                  dependent) or half the amount of memory
>                                  available)
>                         global
>                         {not in Vi}
>         Maximum amount of memory (in Kbyte) to use for all buffers
>         together. Maximum value 2000000.  Use this to work without a
>         limit.  Also see 'maxmem'.
> ----
>  1 minor unclarity:
> 
> 1) 2048-10240 Bytes is awfully small for today's systems...should this
>     number be said to be in 'KB'?  Maybe it should start defaulting to
>     'MB' (with appropriate default changes -- or allow 'units' to be
>     specified? like MB/mb or tb/TB?

It is in KB. Just look at the first line of the synopsis. So the defaults 
mentioned are 2 megabytes and 10 megabytes respectively.

Though I notice that my default is outside this range: namely when I 
start a new GVIM instance on Debian AMD64 (with 4 GB of RAM installed, 
and 332MB of that used), maxmemtot=1966108. Does this mean it defaults to 
2048-10240 kbytes if that default is larger than half the amount of memory
available? A cleanup to the docs would be useful, but the default numbers 
aren't ridiculous.

> 2) One minor (outdated) statement: "Maximum value=2000000" -- that
> doesn't
>     apply to 64 bit machines.  I'm logged in remotely to a linux box
>     running gvim and 'maxmem' shows about 3x that amount.



-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to