From ee28286d3d5e234e1a82d30366d693810a7bb1b1 Mon Sep 17 00:00:00 2001 From: Chris Hegarty <62058229+ChrisHegarty@users.noreply.github.com> Date: Tue, 3 Sep 2024 16:27:12 +0100 Subject: [PATCH] Remove unnecessary enableMemorySegments from KnnPerfTest (#292) --- src/python/knnPerfTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/knnPerfTest.py b/src/python/knnPerfTest.py index 847e98301..af4d1bd84 100644 --- a/src/python/knnPerfTest.py +++ b/src/python/knnPerfTest.py @@ -99,7 +99,7 @@ def run_knn_benchmark(checkout, values): cp = benchUtil.classPathToString(benchUtil.getClassPath(checkout)) cmd = constants.JAVA_EXE.split(' ') + ['-cp', cp, '--add-modules', 'jdk.incubator.vector', - '-Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false', + '--enable-native-access=ALL-UNNAMED', 'knn.KnnGraphTester'] all_results = [] while advance(indexes, values):