Technically, Git has no maximum limit on repository size. In reality, a 20
GB repo is probably way too large. You'd be better off breaking it up into
separate repositories. It might also be worth just doing a sanity check on
the contents of the repository. I've worked on some very large projects
(tens of thousands of files in thousands of folders) and that worked fine
with Git. It also never came anywhere near that kind of size.



On Wed, Nov 28, 2012 at 7:36 PM, kumar <t12...@gmail.com> wrote:

> Hi
>
> I have a 20 GB project and when i try to push it into remote git using
> http i fails. I get the following error
>
> ---------------------------------------------------------------------------
> git.exe push --progress "jumpstart" master
> Counting objects: 207955
> Counting objects: 208012, done.
> Compressing objects: 100% (207342/207342)
> Writing objects: 100% (208012/208012), 7.80 GiB | 3.78 MiB/s
> Writing objects: 100% (208012/208012), 7.80 GiB | 3.78 MiB/s, done.
> Total 208012 (delta 112930), reused 0 (delta 0)
> fatal: The remote end hung up unexpectedly
> fatal: The remote end hung up unexpectedly
> error: RPC failed; result=55, HTTP code = 0
> Everything up-to-date
> ----------------------------------------------------------------------
> I even tried git config http.postBuffer 524288000 and it did not help.
>
> as an alternative i copied the project to the server where the remote
> repository is and was able to successfully push the project into the remote
> repository.
> When i try to clone to my desktop from the remote repository i get a
> different error
>
> ------------------------------**------------------------------**
> ------------------------------**------------------------------**
> ------------------------------**--
> git.exe clone     --progress -v  "http://192.168.0.166:8080/**
> git/MyProject.git <http://192.168.0.166:8080/git/MyProject.git>"
> "D:\TempMyproject\myproject"
>
> Cloning into 'D:\TempMyProject\myproject'..**.
> remote: Counting objects: 96892
> remote: Finding sources: 100% (105678/105678)
> remote: Getting sizes: 100% (56418/56418)
> remote: Compressing objects: 100% (56392/56392)
> Receiving objects:  59% (62949/105678), 4.07 GiB | 2.50 MiB/s
> error: inflate: data stream error (invalid stored block lengths)
> fatal: pack has bad object at offset 83559486: inflate returned -3
> fatal: index-pack failed
> fatal: write error: Invalid argument
> fatal: write error: Invalid argument
>
> git did not exit cleanly (exit code 128) (1780206 ms @ 11/28/2012 11:26:44
> PM)
> ------------------------------**------------------------------**
> ------------------------------**------------------------------**--------
>
> It looks like git is not able to handle huge repositories or is http not
> good for huge projects. for our purpose we need to use http.
>
> thanks
>
>
>
>
>
>  --
>
>
>

-- 


Reply via email to