Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of vi editor opening large file error 0602-101Out of memory saving lines for undo

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

The main content of this article is to explain "vi editor opens a large file error report 0602-101Out of memory saving lines for undo how to solve", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "vi editor open large file error 0602-101Out of memory saving lines for undo how to solve it"!

When you open a large file (approximately 130MB when more than 1048560 lines) using the vi editor on the AIX platform, the following error is reported.

$vi alert_CBSDB.log

Ex: 0602-101 Out of memory saving lines for undo.

Solution:

Method 1:

Bash-3.2$ vi-y 9999999 alert_CBSDB.log

Where-y number is the line number of the specified vi editing window, 9999999 > 1048560 (default number of lines)

Method 2:

Use editing software such as ultraedit to open it for viewing.

Method 3:

Export EXINIT= "set ll=20000000 dir=/home/tmp" / * / home/tmp is a directory with enough custom space * /

Method 4:

ESC: set dir=

At this point, I believe that the "vi editor opens a large file error 0602-101Out of memory saving lines for undo how to solve" have a deeper understanding, might as well to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 265

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report