This PDF is too large to display. Please download to view

I’m using a self-hosted GitLab CE installation v17.0.
A user sent me an email to point out he’s not able to see a preview of the pdf file on the blob viewer (the file size is about 3.5 MB).

Is there a way to rise a bit this upper limit?
I tried to change settings in diff limits but it doesn’t work.
To be honest, the history on that file shows a single commit, so I think the problem is also that there is no diff, or better, the diff is the entire size of the file and this might be the issue.

Thank you very much for your help.


1 Like