Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 12-28-2003, 10:10 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Unhappy Getting the error "E297 : Write error in swap file "

Hi All,

I am a running a java application on a linux machine where in i am redirecting its output to a file. I am running the application from /home. In the middle of the execution i am able to see the message "E297 : Write error in swap file" appearing at the bottom of the editor in which i opened my output. There is also also a occuring which says " No space left on device". Then i deleted some of the unnecessary files in the /home directory. Even then the same problem reappears. Can somebody please help me :-(


P.S : What is the command in Linux to find the total space allocated to a directory/device (for eg /home)
Old 12-28-2003, 10:47 PM   #2
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
This mostly happens when the disk is full
Vim could not write text into the swap-file
Old 12-29-2003, 06:42 AM   #3
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
what does "free" tell you about the size of the swap partition?
Old 12-29-2003, 08:07 AM   #4
LQ Newbie
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
got it


I actually deleted a lot of matter form the /home dir...even then the when i try shows that the availabilty % as 0. Then i restared the system..then the availability % became 35.......huh.......donno my appl is working and thanks for the responses......



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
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
"Failed to set up write combining range" error when running startx jbryanj Linux - Software 1 10-24-2005 05:23 PM
"cannot change file permissions" error when moving data to and from pendrive Whiskers Mandriva 4 01-02-2005 02:49 AM
Oracle 10g says "end of file" cyclic redundancy error mmjulian Linux - Software 2 05-22-2004 02:57 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 10:51 PM.

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