[求助]AIX vi编辑器报错ex:0602-101 Out of memory saving lines for undo
如果,AIX服务器内存还有还几个G空闲,/tmp目录足够大,要编辑的文件也就5W行多一点,3M左右。打开文件时就报ex:0602-101 Out of memory saving lines for undo。要打开的文件没有超出如下限制:
The following list provides the maximum limits of the vi editor. These counts assume single-byte characters.
* 256 characters per global command list
* 2048 characters in a shell escape command
* 128 characters in a string-valued option
* 30 characters in a tag name
* 128 map macros with 2048 characters total
* 1,048,560 lines silently enforced
* The macro name and the macro text are limited to 100 characters.Note: The vi editor supports a maximum of 2 GB edit buffer.
请问大侠,是什么原因引起这个错误呢,谢谢大侠了! Displays the directory that contains the editing buffer. The default is dir = /var/tmp.
以上:vi默认是使用/var/tmp目录,不是通常认为的/tmp目录。注意/var/tmp的写权限和大小。
页:
[1]