sgangenamoni
asked on
AIX - VI editor issues
When I vi a large file on AIX, I get the following error
ex: 0602-101 Out of memory saving lines for undo.
Is there any work around for this
ex: 0602-101 Out of memory saving lines for undo.
Is there any work around for this
Cleanup the /var filesystem
ASKER
My var is only 21% used
ASKER
The file is 45MB and my VAR has 1GB in total
what do you want to do with this file?
i think in unix you can use csplit
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The solutions above seems accurate to me:
I recommend having empty for /var/tmp or splitting it as said above.
Or is it possible for you to use emacs since it has no such limiation?
Best regards.
I recommend having empty for /var/tmp or splitting it as said above.
Or is it possible for you to use emacs since it has no such limiation?
Best regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I see that madunix solution is giving me an approach but what is the directory name here. I want to open /oradbhome/ora/oradiag.log
Is my directory /oradbhome/ora/ ..???
Is my directory /oradbhome/ora/ ..???
sorry, a typo in the variable name, it's EXINIT
set directory="any_directory_w ith_enough _free_spac e"
what is the lines max length in this file? it could be a problem if line length is more than 2048 bytes.
is disk quota enabled by any means?
is disk quota enabled by any means?
ASKER
I am running TL9-SP1
can you provide more info about file content? is it text file? if you run
file filename
what do you get?
file filename
what do you get?
Did you try my suggestions 1) - 3) ?
ASKER
Omar - How do I calculate the max length of a file
wmp - I think the solution didnt work, Also my IBM APAR is at the latest level
bos.rte.edit 5.3.9.0 COMMITTED Editors
wmp - I think the solution didnt work, Also my IBM APAR is at the latest level
bos.rte.edit 5.3.9.0 COMMITTED Editors
What do you mean ... "I think..."?
Is it a text file? vi can't deal with binary files. Can you tell what is in the file? you could use command like head to see few lines from the file. What the command
file filename
shows?
file filename
shows?
ASKER
woolmilkporc - I tried (1-3) did not fix my issue, Sorry "I think.." is wrong to use there.
ASKER
Its not a binary file, Its a log file.
When I ran ur command here is the output
root@csc06oraacc12 $ file oradiag.log
oradiag.log : ascii test
[/oradbhome/ora ]
When I ran ur command here is the output
root@csc06oraacc12 $ file oradiag.log
oradiag.log : ascii test
[/oradbhome/ora ]
sorry, but again do you have any disk quota enabled?
ASKER
no my disk quota is not enabled..Omar
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello Omar and wmp,
My max line lenth of the file is 91
My max line lenth of the file is 91
What is the line count (from my wc -l thing)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
give me the ulimit -a for the user you logged in ..
madunix
madunix
ASKER
The above solutions solved part of my problem but not complete, rather it gave me an approach..Thanks for the answers