diff --git a/plugins/git4idea/src/git4idea/history/wholeTree/DetailsCache.java b/plugins/git4idea/src/git4idea/history/wholeTree/DetailsCache.java index 245077d8ebf7..ed14b335101e 100644 --- a/plugins/git4idea/src/git4idea/history/wholeTree/DetailsCache.java +++ b/plugins/git4idea/src/git4idea/history/wholeTree/DetailsCache.java @@ -18,7 +18,6 @@ import com.intellij.openapi.progress.BackgroundTaskQueue; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.Task; import com.intellij.openapi.project.Project; -import com.intellij.openapi.util.Getter; import com.intellij.openapi.util.Pair; import com.intellij.openapi.vcs.VcsException; import com.intellij.openapi.vcs.changes.BackgroundFromStartOption; @@ -42,7 +41,7 @@ import java.util.Map; * @author irengrig */ public class DetailsCache { - private final static int ourSize = 400; + private final static int ourSize = 500; private final SLRUMap, GitCommit> myCache; private final SLRUMap, List> myBranches; private final Project myProject; @@ -64,8 +63,8 @@ public class DetailsCache { myStash = new HashMap>(); myRefresh = uiRefresh; myLock = new Object(); - myCache = new SLRUMap, GitCommit>(ourSize, 50); - myBranches = new SLRUMap, List>(10, 10); + myCache = new SLRUMap, GitCommit>(ourSize, 150); + myBranches = new SLRUMap, List>(20, 20); } public GitCommit convert(final VirtualFile root, final AbstractHash hash) {