Egit - 来自github的克隆存储库挂起接收对象

时间:2014-03-13 14:23:42

标签: git github egit git-clone gwtp

我正在尝试使用egit克隆GWTP repository on github

它可以非常快速地接收高达93%的对象,然后挂起大约10分钟并给我一个 Java堆空间错误。使用 HTTPS和SSH 协议会发生这种情况:

Always hangs on 93%

我在设置中增加了git窗口缓存,但同样的事情发生了。

错误日志

不确定这些是否有任何帮助,但在这里它们是:

异常堆栈跟踪

java.lang.OutOfMemoryError: Java heap space
    at org.eclipse.jgit.transport.PackParser.inflateAndReturn(PackParser.java:1492)
    at org.eclipse.jgit.transport.PackParser.resolveDeltas(PackParser.java:572)
    at org.eclipse.jgit.transport.PackParser.resolveDeltas(PackParser.java:550)
    at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:507)
    at org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:194)
    at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:448)
    at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:762)
    at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:363)
    at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:752)
    at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:301)
    at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:291)
    at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:247)
    at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
    at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
    at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
    at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
    at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
    at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
    at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:156)
    at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:432)
    at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:425)
    at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$5.run(AbstractGitCloneWizard.java:386)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

会话数据

eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

我前几天克隆了另一个存储库,所以我真的很困惑这可能导致这个问题。