lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject lucene-solr:master: SOLR-9284: Reduce off heap cache size.
Date Wed, 16 Nov 2016 15:11:55 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master d675518da -> 53a0748f4


SOLR-9284: Reduce off heap cache size.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/53a0748f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/53a0748f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/53a0748f

Branch: refs/heads/master
Commit: 53a0748f4345b540da598c25500f4fc402dbbf38
Parents: d675518
Author: markrmiller <markrmiller@apache.org>
Authored: Wed Nov 16 10:11:41 2016 -0500
Committer: markrmiller <markrmiller@apache.org>
Committed: Wed Nov 16 10:11:41 2016 -0500

----------------------------------------------------------------------
 .../test/org/apache/solr/store/blockcache/BlockDirectoryTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/53a0748f/solr/core/src/test/org/apache/solr/store/blockcache/BlockDirectoryTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/store/blockcache/BlockDirectoryTest.java b/solr/core/src/test/org/apache/solr/store/blockcache/BlockDirectoryTest.java
index 5e4f1c5..4272c24 100644
--- a/solr/core/src/test/org/apache/solr/store/blockcache/BlockDirectoryTest.java
+++ b/solr/core/src/test/org/apache/solr/store/blockcache/BlockDirectoryTest.java
@@ -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);


Mime
View raw message