[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem when using shell script to checkout huge binary files (>70MB

From: Frederic Brehm
Subject: Re: problem when using shell script to checkout huge binary files (>70MB)
Date: Tue, 21 May 2002 08:58:15 -0400

At 12:54 -0500 5/20/02, Veronica Zhu wrote:

I use Java Runtime.getRuntime().exec() to execute a shell script.


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.

Here's a few things to try...

Make sure all files are on the same branch.

Try running the shell script from the command line of the client and watch for error messages. Try the same command line on the server (you might have to adjust CVSROOT).

Use the -t switch of CVS and watch what happens when traversing the directories with the large files.

Very large binary files can be a problem in CVS. Updates to binary files are not stored very efficiently in the repository (unlike text files where diff works well). CVS reads the entire repository file into virtual memory in order to process it. That means your 70M binary file might be much larger in the repository--too large for VM on your server. Check the file size of the repository file (if the file is named foo.gif, then the repository file will be named foo.giv,v).

Good Luck,
Fred Brehm, Sarnoff Corporation, address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]