Bitbucket Server Displays 'There are too many files in this directory. Only showing the first 500.'

Still need help?

The Atlassian Community is here for you.

Ask the community

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

Was this helpful?

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