免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3609 | 回复: 1

[系统管理] [求助]AIX vi编辑器报错ex:0602-101 Out of memory saving lines for undo [复制链接]

论坛徽章:
0
发表于 2015-04-15 20:17 |显示全部楼层
如果,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.
请问大侠,是什么原因引起这个错误呢,谢谢大侠了!

论坛徽章:
0
发表于 2015-04-21 15:11 |显示全部楼层
Displays the directory that contains the editing buffer. The default is dir = /var/tmp.
以上:vi默认是使用/var/tmp目录,不是通常认为的/tmp目录。注意/var/tmp的写权限和大小。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP