Re: CVS2GIT - Is there a limit on individual file size ?

Michael Haggerty <[email protected]> Thu, 07 Jun 2012 16:34:34 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
On 06/07/2012 03:56 PM, Kenneth M. Lee wrote:
> Is there a known limit on the size of an individual file ?

The only limit should be the amount of address space available to the 
conversion script.  Considering temporary copies and other stuff that is 
held in RAM, I would think that some fraction (say 1/4) of the available 
address space should usually not present any problems.

On a 32-bit computer, the available address space is at most 2 - 4 GiB. 
  On a 64-bit computer, is is something like the total amount of (RAM 
plus swap space).

> I have a ZIP file that is around 225MB and when we convert our code
> base, it is converted, but only to a file whose size is ~8K.

For a modern computer I wouldn't expect a problem with a file of this 
size.  And if there were a problem due to the size of the file, I would 
expect an out-of-memory error.  I certainly wouldn't expect the file to 
be truncated silently.

1. Are you using the trunk version of cvs2git?  (I recommend it.)

2. Did you check the output of the script carefully for errors?  (Maybe 
try running it in verbose mode.)

3. Is the dumpfile that is output by cvs2git the size that you would 
expect?  (If so, the problem might be in "git fast-import".)

If you still can't figure out the problem, we will need more information 
to help you.  Please read the FAQ for instructions on how to report a 
problem.

Michael

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2969542

To unsubscribe from this discussion, e-mail: [[email protected]].