On Thu, Aug 2, 2012 at 7:21 AM, Dom Alessi <
doma...@gmail.com> wrote:
> We currently have a repo on our gerrit 2.1.8 instance that is causing the
> JVM Heap to be exhausted. The error the user gets is the following when
> doing a push:
>
>>> remote: Resolving deltas: 24% (763/3179)
>>> remote: Resolving deltas: 25% (795/3179)
>>> remote: Resolving deltas: 26% (836/3179)
>>> remote: Resolving deltas: 26% (840/3179)
>>>
>>> error: unpack failed: error Out of memory loading unknown object
>>> fatal: Unpack error, check server log To
>>> ssh://username@server:29418/ipos_git_lite_gerrit_pilot-sfi
>>> ! [remote rejected] master -> swfeature_int.git-master (n/a
>>> (unpacker error))
>>> error: failed to push some refs to
>>> 'ssh://username@server:29418/ipos_git_lite_gerrit_pilot-sfi'
Are you pushing a file that is >2G in size? Or something equally large
that is say 800M and the JVM just can't allocate an 800M contiguous
block of memory?