[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem when using shell script to checkout huge binary files (>70MB
Re: problem when using shell script to checkout huge binary files (>70MB)
21 May 2002 08:39:20 -0400
Have you tried the shell script from the command line, not calling
it from inside Java? What were the results? In calling this shell
script from java, is this an automated process (i.e., a cron job)?
If so, have you tried running the java process from the command line?
What were the results?
More questions then helpful suggestions, I know, but it would help
to know what your environment is telling you. I am suspicious of a
timeout, possibly being imposed by the java process, but your
observations can help confirm or eliminate that possibility.
On Mon, 2002-05-20 at 13:54, Veronica Zhu wrote:
> I use Java Runtime.getRuntime().exec() to execute a shell script.
> This shell script does cvs checkout of project repositories
> into user directories for web based file browsing.
> It works great for all files EXCEPT huge binary files whose size is
> about 70 Mega Bytes. The directory, which should contain those
> large files, was checkout as an empty directory. (No errors observed.)
> However, at the same time, other directories with smaller files
> were checkout normally with expected files.
> It doesn't look like the Java problem, because I can use the
> same Java function to execute a shell script that copy the huge
> file from one folder to another one. Well, cvs checkout
> works OK for the large files when doing so in win-cvs windows.
> The server is Red Hat Linux 7.1 and uses
> Concurrent Versions System (CVS) 1.11.1p1 (client/server).
> I have searched mailing-list of cvs with no luck.
> Any one has any ideas ?
> Any input will be greatly appreciated!!
> Info-cvs mailing list