Atlassian Stash 2.0, too many files in a directory

There are too many files in this directory. Only showing the first 500.

When viewing a large directory in Stash 2.0.2 I get this message, is there any way that I can remove or increase the limit?

Thanks in advance, md_5

3 answers

1 accepted

Accepted Answer
0 votes
Seb Ruiz Atlassian Team Jan 12, 2013

You can set the property

page.max.directory.children=1000 #(or another arbitrary number)

in the file stash-config.properties in your STASH_HOME directory. However, we don't recommend setting this value to be very high, as it will start causing performance problems for your Stash instance.

Out of interest, why do you want to set this number higher? If you are looking for a particular file in a directory/repository, I would suggest using the "find files" feature. (Press 'f' or click on the link on the right hand side of the toolbar).

Thanks for that. I want to set it higher so I can quickly get a gist of all files in the directory. Yes I could use the search, but sometimes I want to scroll through and find an unknown file name.

Thanks for the prompt response, I'll probably set it to around 1500.

Seb, are all these Stash configuration properties are listed somewhere? Thanks

Seb Ruiz Atlassian Team May 30, 2013

If you have access to the source distribution you can look at stash-default.properties

Seb, we purchased an enterprise subscription, so do we have access?

In general, maybe the sample config file could placed on/linked from the FAQ?

Thanks

Hi Gabor,

The source should be available here:

https://my.atlassian.com/download/source/stash

We're planning on documenting some of the most important and relevant flags very shortly. There are quite a few that we really don't want people to change, which is why we don't just expose the file directly.

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,411 views 9 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you