mirror of https://github.com/apache/lucene.git
SOLR-9284: Reduce off heap cache size.
This commit is contained in:
parent
d675518da4
commit
53a0748f43
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue