terse editor

David Hummel dhml at comcast.net
Fri Feb 11 22:18:31 EST 2005


On Fri, Feb 11, 2005 at 09:24:07PM -0500, David Kramer wrote:
> 
> There are lots of people who prefer vi, and call emacs "an operating
> system that can edit files".  Some admins will refuse to install emacs
> because it takes up so much memory.

The memory footprint of GNU emacs is quite a bit higher than vim.  This
is for a 16229 byte file I was just editing:

$ ps aux | head -1; ps aux | egrep 'emacs|vim'
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
hummel    4088  0.0  0.2  5224 2640 pts/1    S+   22:12   0:00 vim hybselect.cgi
hummel    4103  0.4  0.7 11532 7384 pts/2    S    22:12   0:00 emacs -bg black -fg green hybselect.cgi

-David



More information about the Discuss mailing list