This file is too large to be displayed.

Hi

I was wondering if I could get a default diff view of files that have more than 900 lines of code changes.

I see that the side-by-side diff works which has an issue where scrolling is very very slow and the "view file" mode (which doesn't show the changes unfortunately).

Is there a config setting I can change so this is supported?

Thanks!

Regards

Devon

6 comments

Hi Devon,

Are there any system messages shown when you try to view such a huge diff?

Also could you please clarify what OS system you open Upsource UI on?

Thank you.

0

Currently using Chrome Version 56.0.2924.87 on Windows 7 64bit (8GB ram, core i5 3.2GHz)

 

Not exactly sure what you mean with system messages. Here is what is shown in the Upsource GUI, it's a c file that I selected:

0

Yes, it's exactly what I meant. Please check out this article (https://upsource-support.jetbrains.com/hc/en-us/articles/206860749-Warning-This-file-is-binary-or-is-too-large-to-be-displayed-)

As for slow scroll in side-by-side diff, it seems to be a known issue:

https://youtrack.jetbrains.com/issue/UP-6440

Should be fixed by the nearest product release.

0

Increasing the values in the user file did the trick, thanks.

0

Update: please disregard, I had to increase it even more to 

frontend.view.filesize.limit=9000000
frontend.diff.filesize.limit=10000

 

----------------------

 

Hi

I upgraded to Upsource 2017.1 and now the upsource.user.properties with content

frontend.view.filesize.limit=4500000
frontend.diff.filesize.limit=5000

does not fix the issue anymore. Has anything changed?

 

Best regards
Devon

0

I have had a similar issue and increased the values as advised in https://www.jetbrains.com/help/upsource/warning-this-file-is-binary-or-is-too-large-to-be-displayed.html. However, the Diff viewer now takes ages to display. Will there be any tweaks to the performance of large file diffs?

0

Please sign in to leave a comment.