LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-25-2006, 10:32 AM   #1
kumarrbt
LQ Newbie
 
Registered: Dec 2006
Posts: 1

Rep: Reputation: 0
Lightbulb E297: Write error in swap file


Hi, I am getting this error when I tried to edit a file "E297: Write error in swap file". Can somebody help me in resolving this issue?

Thanks
 
Old 12-25-2006, 12:20 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,739

Rep: Reputation: 298Reputation: 298Reputation: 298
Quote:
*E296* *E297*
Seek error in swap file write
Write error in swap file

This mostly happens when the disk is full. Vim could not write text into the
|swap-file|. It's not directly harmful, but when Vim unexpectedly exits some
text may be lost without recovery being possible. Vim might run out of memory
when this problem persists.
It's time to do some house cleaning to remove old log files, trim down some large log files, clear out browser caches, etc. The partition is full from the sound of it. No room left to write to the hard drive. It isn't a problem with the swap partition unless the swap partition is way too small for the demands of the system.
 
1 members found this post helpful.
Old 12-25-2006, 03:58 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,050

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
Quick test looks like the swap is allocated in the directory of the file being editted.
You can choose not to use a swap file - see "man vim".
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Write Error Log to Text File jamez15 Linux - General 3 07-02-2006 07:32 PM
read & write binary file error in redhat xcmore Programming 11 06-17-2005 07:48 AM
write error (file system full?) naijaguy Linux - Newbie 2 02-10-2005 10:55 AM
Getting the error "E297 : Write error in swap file " sudhir_gunda Linux - General 3 12-29-2003 08:07 AM
"E297: Write error in swap file" :-( sudhir_gunda Linux From Scratch 2 12-29-2003 01:41 AM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration