Git Integration for Jira Cloud Documentation

Contact support  

Error while reindexing – Java heap space / Object too large, rejecting the pack


The Git Integration for Jira application uses the JGit library which does not support objects over 2GB in size stored in git repositories.


Jira admins will see a message similar to the one below in the Jira /application-logs/atlassian-jira.log:

java<br>Сan't auto-deploy a new repository https://server/project/repository.git<br>com.bigbrassband.jira.git.exceptions.InvalidRemoteOperationException: Specified origin https://server/project/repository.git is incorrect or not supported<br> at<br> at<br> at<br> at<br> at<br> at<br> at$<br> at java.util.concurrent.Executors$<br> at<br> at java.util.concurrent.ThreadPoolExecutor.runWorker(<br> at java.util.concurrent.ThreadPoolExecutor$<br> at<br>Caused by: org.eclipse.jgit.api.errors.TransportException: Object too large (2,271,263,009 bytes), rejecting the pack. Max object size limit is 2,147,483,639 bytes.<br> at<br> at org.eclipse.jgit.api.CloneCommand.fetch(<br> at<br> at<br> at<br> ... 11 more<br>


Making any change to a git repository’s history can result in loss of data. Proceed with care.

Contact Us

If you still have a question – reach out to our Support Desk or email us at

Have feedback about this article? Did we miss something? Let us know!
On this page