Set the maximum data size for the given type of object to be considered eligible for caching in memory. Setting to value to zero means that that type of object will not be cached.
Defaults to 0 for GitType.blob (i.e. won't cache blobs) and 4k for GitType.commit, GitType.tree, and GitType.tag.
setCacheObjectLimit(GitType.commit, 4096);
See Implementation
Set the maximum data size for the given type of object to be considered eligible for caching in memory. Setting to value to zero means that that type of object will not be cached.
Defaults to 0 for GitType.blob (i.e. won't cache blobs) and 4k for GitType.commit, GitType.tree, and GitType.tag.