remote: Commands size exceeds limit defined in receive.maxCommandBytes

126 views
Skip to first unread message

Rajesh Babhulkar

unread,
Apr 4, 2024, 7:22:16 AM4/4/24
to Repo and Gerrit Discussion
We are migrating projects from old Gerrit to new 3.9 version of Gerrit .Getting following error while pushing all the tags in new origin.
Can some one please help? 
git push --tags new_origin
remote: Commands size exceeds limit defined in receive.maxCommandBytes
fatal: internal server error
Enumerating objects: 108041, done.
Counting objects: 100% (76708/76708), done.
Delta compression using up to 32 threads
Compressing objects: 100% (68094/68094), done.
fatal: the remote end hung up unexpectedly

Thanks and REgards,
Rajesh

Matthias Sohn

unread,
Apr 4, 2024, 8:10:58 AM4/4/24
to Rajesh Babhulkar, Repo and Gerrit Discussion
The number of commands which can be executed when receiving a single push is limited in JGit, see

You can try to increase this limit in $gerrit_site/etc/jgit.config or fetch the refs from the host gerrit is running on
using git fetch behind Gerrit's back.
 
Thanks and REgards,
Rajesh

--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/b23e24a9-0ba9-408c-8a46-153a497f162fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages