1. 程式人生 > >vi 開啟大檔案報錯:(0602-101 Out of memory saving lines for undo)

vi 開啟大檔案報錯:(0602-101 Out of memory saving lines for undo)

在AIX 平臺下用vi 開啟大檔案會報錯:

0602-101 Out of memory saving lines for undo)

因為是/tmp 目錄空間不足引起的,vi 預設路徑是/tmp

解決方案1:
export EXINIT="set ll=20000000 dir=/home/tmp"  /**** /home/tmp為自定義空間足夠的目錄 *****/

解決方案2:

ESC :set dir=<your_choice> 

參考: