Monday, May 13, 2013

Re: vim consume huge memory and can cause oom stty rows/columns 65535

On Tuesday, May 14, 2013 7:57:45 AM UTC+12, jimmywang wrote:

> With the following setting, vi can consume up to 40GB on my Linux (64 bit) machine:
>
> stty rows 65535
> stty columns 65535
> vi /tmp/foo

Interesting.
Are you sure that's vim? On my Kubuntu 13.04, vi gives me vim 7.3.547 "Huge version with GTK2 GUI" "Modified by pkg-vim-maintainers@lists.alioth.debian.org" and it clips lines to 1000 and columns to 10000, and only uses about 150 kiB.

So, which Linux distro? And when you run "vi", what does

:ver

say? What does (in your shell)

ls -l /etc/alternatives/vi

say?

Regards, John Little

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: