This push is too large to process when pushing large amount of data

Git のトラブルシューティング

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

When pushing a large amount of data, Stash responds with This push is too large to process.

 
$ git push --tags stash
Counting objects: 14216, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (5834/5834), done.
Writing objects: 100% (13883/13883), 652.76 MiB | 5.09 MiB/s, done.
Total 13883 (delta 9575), reused 11455 (delta 7654)
remote: This push is too large to process.
remote: Communication breakdown with Stash.

原因

This is caused by the amount of data exceeding the buffer size used when marshaling data between the SSH or HTTP socket and the Git process.

ソリューション

  • Double the buffer size by adding the following to $STASH_HOME/shared/stash-config.properties:

    stash-config.properties
    # If using SSH for pushing add the following:
    plugin.stash-scm-git.backend.ssh.buffer.size=65536
     
    # If using HTTP for pushing add the following:
    plugin.stash-scm-git.backend.http.buffer.size=65536
Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.