dcsimg
IOException when i use Runtime.getRuntime().exec
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, March 25, 2008 01:43 AM

Hi All,


I am calling a shell script from the java using the Runtime class, the job of the shell script is to zip some content which is huge in size(max 500MB) while invoking the shell script i will give the arguments source & destination. I am using the waitFor() so that my java program will wait untill the shell script execution is over. Everything is working as expected but some times it's giving Exception java.io.IOException : Not enough space



What could be the reason for getting this kind of error ? Your suggestions are more appreciated.

Thanks,
Krishna Rajendra A.

Re: IOException when i use Runtime.getRuntime().exec

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, March 29, 2008 04:34 PM

Perhaps it means you are out of disk space? on the disk/partition where it's writing the output file?
About | Sitemap | Contact