You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/12 19:59:43 UTC

[lucene-solr] 02/02: #98 Perf buff, remove a lot of garbage allocation.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 82aea4c44cf75b7d3f3b99d5fabc115b425b1af6
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Jul 12 14:59:26 2020 -0500

    #98 Perf buff, remove a lot of garbage allocation.
---
 solr/test-framework/src/java/org/apache/solr/SolrTestCase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
index 9af109d..d98719a 100644
--- a/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
+++ b/solr/test-framework/src/java/org/apache/solr/SolrTestCase.java
@@ -181,7 +181,7 @@ public class SolrTestCase extends LuceneTestCase {
       // can make things quite slow
       System.setProperty("solr.disableJmxReporter", "true");
       System.setProperty("solr.skipCommitOnClose", "true");
-     // System.setProperty("solr.skipReloadSPI", "true");
+      System.setProperty("solr.skipReloadSPI", "true"); // can generate tons of URL garbage and can happen too often
 
       System.setProperty("solr.OverseerStateUpdateDelay", "1000");