Pull request is too large to render

Miscellaneous

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following message appears when viewing a pull request:

This pull request is too large to render. Showing the first 1000 files.

Cause

Stash is coded to show the first 1000 files by default. Showing more than 1000 files will impact the performance of the browser, due to the way Stash renders the file tree. This is particularly noticeable in older browsers and Internet Explorer. There is also a smaller impact on the server, due to processing the output of the Git command required to fetch the files, but is less noticeable with moderately larger values.

Resolution

Please note that increasing the limit is not recommended and will have a performance impact.

  1. Stop Stash.
  2. Add the following property into stash-config.properties to increase the limit to 2000 files (create one if it doesn't exist):

    page.max.changes=2000 

    See Stash config properties for more information.
     

    Additional step for Stash 1.3.0 or older

    Modify $STASH_INSTALL/atlassian-stash/static/feature/changeset/difftree/difftree.js to increase the following value:

    var CHANGESET_LIMIT = 1000;


  3. Restart Stash.
Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.