Skip to content

Commit

Permalink
Bump down the metadata cache size
Browse files Browse the repository at this point in the history
  • Loading branch information
dstuebe committed Aug 23, 2019
1 parent d9ddb49 commit 02a4b4d
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 02a4b4d

Please sign in to comment.