Bitbucket Server Displays 'There are too many files in this directory. Only showing the first 500.'
Symptoms
Bitbucket Server displays 'There are too many files in this directory. Only showing the first 500.' when browsing a particular folder.
Cause
This limit has been hard coded as default in Bitbucket Server for optimum performance during page loads.
Resolution
You may reset this default by adding the following property to your 'bitbucket.properties' file in <BITBUCKET_HOME> directory:
page.max.directory.children=1000 #(or another arbitrary number)
However, it's not recommend setting this value to be very high, as it will start causing performance problems for your Bitbucket Server instance.
Alternatively, if you are looking for a particular file in a directory/repository, you could use the "Find File" feature.
Last modified on Feb 26, 2016
Powered by Confluence and Scroll Viewport.