Skip to content

Commit

Permalink
Merge pull request #102 from upserve/lower_metadata_cache
Browse files Browse the repository at this point in the history
Bump metadata cache back down
  • Loading branch information
dstuebe authored Aug 23, 2019
2 parents d9ddb49 + 02a4b4d commit a28abd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class LookupMetadata {
private static final Logger log = org.slf4j.LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

// TODO make MAX_BISECT_KEY_CACHE_DEPTH configurable via the FileStoreBuilder
private static final int MAX_BISECT_KEY_CACHE_DEPTH = 13; // Size == 16_384
private static final int MAX_BISECT_KEY_CACHE_DEPTH = 11; // Size == 4_096g
private static final int MAX_TREE_NODES = treeSize(MAX_BISECT_KEY_CACHE_DEPTH);
private final LookupKey[] bisectKeys = new LookupKey[MAX_TREE_NODES];

Expand Down

0 comments on commit a28abd8

Please sign in to comment.