Stephen John Smoogen wrote:
On Thu, Mar 13, 2008 at 1:49 PM, Sean Carolan scarolan@gmail.com wrote:
I have run into a snag with my CVS installation:
[scarolan@neinei:~]$ cvs co -P installfiles cvs checkout: Updating installfiles cvs [checkout aborted]: out of memory; can not allocate 1022462837 bytes
Unfortunately we have a couple of large binary .tgz files in the repository. I was able to check them in but as you can see I can't check them out because of memory limitations. I have even added 2 more gigs of swap space but it still errors out. I noticed while watching it that it doesn't seem to use all the swap space. Any pointers?
Checking in binary files into CVS or any repository control system is usually a broken thing. You want to either check in the stuff inside the tar ball seperately (if its going to change), or just copy it into the archive by updating CVSROOT/cvswrappers
*.tar -k 'b' -m 'COPY' *.tbz -k 'b' -m 'COPY' *.tgz -k 'b' -m 'COPY'
Check out: http://www.ibm.com/developerworks/java/library/j-svnbins.html
It has tips on tuning subversion for binary deltas.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.