My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 410: git push result "unpack error Java heap space".
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Jan 2010


Sign in to add a comment
 
Reported by bryan.Leong.g@gmail.com, Jan 21, 2010
Describe your new note here.

Affected Version: 2.1.1.1
Environment: gerrit2 runs on debian lenny server. One git client runs on
debian etch. Another git client runs on debian lenny.

What steps will reproduce the problem?
1. On lenny git client, create project and push master to gerrit.
2. On lenny git client, push two experiment branches to gerrit. (ie. e1, e2)
3. On etch git client, pull the git project from lenny git client. Create
e3 branch, working on it then push e3 branch to gerrit.

What is the expected output? What do you see instead?
The git push in step 3 should perform successfully.
The error output is below.
updating 'refs/heads/e3'
  from 0000000000000000000000000000000000000000
  to   44403e029ec18fb31daa0f722a48d51a7f6784dd
Generating pack...
Done counting 1688 objects.
Deltifying 1688 objects.
 100% (1688/1688) done
Writing 1688 objects.
 100% (1688/1688) done
Total 1688, written 1688 (delta 1041), reused 1203 (delta 714)
unpack error Java heap space
ng refs/heads/e3 n/a (unpacker error)

Please provide any additional information below.

lenny git version: git version 1.5.6.5
etch git version: git version 1.4.4.4
Jan 21, 2010
#1 sop@google.com
You need to increase the amount of memory available to your Gerrit
daemon process.

If you are using the bin/gerrit.sh script to start the process,
edit etc/gerrit.config and add

  [container]
    heapLimit = 256m

Or some other suitably large amount of memory.

http://gerrit.googlecode.com/svn/documentation/2.1/config-gerrit.html#container
Status: WontFix
Jan 21, 2010
#2 bryan.Leong.g@gmail.com
After set container.heapLimit to 256m, this issue is resolved.
Sign in to add a comment

Powered by Google Project Hosting