Warning: "This file is binary or is too large to be displayed"

Overview:

When viewing revisions or reviews containing large or binary files you may see the aforementioned warning. If you must see all of the changes, the limit can be raised. 

 

Solution:

  1. In the <upsource_home>/conf directory, create a file called upsource.user.properties
  2. Add the following lines to that file: 

    frontend.view.filesize.limit=XXXX

    frontend.diff.filesize.limit=YYYY

    where XXXX is the maximum file size (2000000 by default) and YYYY is the maximum length of the diff (1000 lines by default).

  3. Restart Upsource

Note: this change might negatively affect UI performance.

6 out of 9 found this helpful

Please sign in to leave a comment.

Have more questions?

Submit a request