Discussion:
CVS2GIT - Is there a limit on individual file size ?
Kenneth M. Lee
2012-06-07 13:56:48 UTC
Permalink
Hi -

Thanks for cvws2git !

Is there a known limit on the size of an individual file ?

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.

Thank you !


Ken Lee
Center for Educational Software Development
University of Massachusetts, Amherst MA 01003
413-545-4683

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

To unsubscribe from this discussion, e-mail: [dev-***@cvs2svn.tigris.org].
Michael Haggerty
2012-06-07 14:34:34 UTC
Permalink
Post by Kenneth M. Lee
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).
Post by Kenneth M. Lee
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
***@alum.mit.edu
http://softwareswirl.blogspot.com/

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

To unsubscribe from this discussion, e-mail: [dev-***@cvs2svn.tigris.org].
Loading...