You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2016/04/27 20:22:06 UTC

[22/50] [abbrv] lucene-solr:solr-5750: LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points

LUCENE-7175: give enough heap for large dim count, bytes per dim, when writing points


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

Branch: refs/heads/solr-5750
Commit: 7acf8babae2401300a5844ebd10da2219c99dd40
Parents: 69be7dc
Author: Mike McCandless <mi...@apache.org>
Authored: Sun Apr 24 05:58:41 2016 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Sun Apr 24 05:58:41 2016 -0400

----------------------------------------------------------------------
 .../core/src/test/org/apache/lucene/search/TestPointQueries.java   | 2 +-
 .../src/java/org/apache/lucene/index/RandomCodec.java              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7acf8bab/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
index bc9ef75..88d89d2 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
@@ -1153,7 +1153,7 @@ public class TestPointQueries extends LuceneTestCase {
   private static Codec getCodec() {
     if (Codec.getDefault().getName().equals("Lucene60")) {
       int maxPointsInLeafNode = TestUtil.nextInt(random(), 16, 2048);
-      double maxMBSortInHeap = 4.0 + (3*random().nextDouble());
+      double maxMBSortInHeap = 5.0 + (3*random().nextDouble());
       if (VERBOSE) {
         System.out.println("TEST: using Lucene60PointsFormat with maxPointsInLeafNode=" + maxPointsInLeafNode + " and maxMBSortInHeap=" + maxMBSortInHeap);
       }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7acf8bab/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
----------------------------------------------------------------------
diff --git a/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java b/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
index 73db88b..c1c33f8 100644
--- a/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
+++ b/lucene/test-framework/src/java/org/apache/lucene/index/RandomCodec.java
@@ -196,7 +196,7 @@ public class RandomCodec extends AssertingCodec {
     int lowFreqCutoff = TestUtil.nextInt(random, 2, 100);
 
     maxPointsInLeafNode = TestUtil.nextInt(random, 16, 2048);
-    maxMBSortInHeap = 4.0 + (3*random.nextDouble());
+    maxMBSortInHeap = 5.0 + (3*random.nextDouble());
     bkdSplitRandomSeed = random.nextInt();
 
     add(avoidCodecs,