SOLR-9284: Reduce off heap cache size.

This commit is contained in:
markrmiller 2016-11-16 10:11:41 -05:00
parent d675518da4
commit 53a0748f43
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ public class BlockDirectoryTest extends SolrTestCaseJ4 {
if (random().nextBoolean()) {
Metrics metrics = new Metrics();
int blockSize = 8192;
int slabSize = blockSize * 32768;
int slabSize = blockSize * 16384;
long totalMemory = 1 * slabSize;
BlockCache blockCache = new BlockCache(metrics, true, totalMemory, slabSize, blockSize);
BlockDirectoryCache cache = new BlockDirectoryCache(blockCache, "/collection1", metrics, true);