LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   "E297: Write error in swap file" :-( (https://www.linuxquestions.org/questions/linux-from-scratch-13/e297-write-error-in-swap-file-129664/)

sudhir_gunda 12-28-2003 10:17 PM

"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 java.io.IOException 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 :-(

Sudhir

P.S : What is the command in Linux to find the total space allocated to a directory/device (for eg /home)

hypexr 12-29-2003 01:01 AM

To see the space on and availabe on partitions:
Code:

df -h
To see the amount of space a directory or is taking up use the "du" command.
Is your swap partition filling up or your hard drive space? You can use the "top" command to see your memory stats.

trickykid 12-29-2003 01:41 AM

First of all, wrong forum.

Secondly, please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 07:46 AM.