"-Dsmall-ram=TRUE" no longer does anything. Remove references to the flag, which previously reduced the memory footprint of the loader and index service.

This commit is contained in:
Viktor Lofgren 2023-03-26 21:37:11 +02:00
parent a0027ad32b
commit 862e925d7c
3 changed files with 1 additions and 3 deletions

View File

@ -45,7 +45,6 @@ public class IndexQueryServiceIntegrationTestModule extends AbstractModule {
@Override
protected void configure() {
System.setProperty("small-ram", "true");
try {
var servicesFactory = new IndexServicesFactory(Path.of("/tmp"),
slowDir, fastDir

View File

@ -1,6 +1,6 @@
ext {
dockerImage='openjdk:17-slim'
serviceJvmOpts='-Dservice-host=0.0.0.0 -ea -Dsmall-ram=true ${wmsa_jvm_param} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false'
serviceJvmOpts='-Dservice-host=0.0.0.0 -ea ${wmsa_jvm_param} -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=4000 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false'
serviceToolOpts='-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5000'
}

View File

@ -18,7 +18,6 @@ CONVERTER_PROCESS_OPTS="
LOADER_PROCESS_OPTS="
-ea
-Dsmall-ram=TRUE
-Dlocal-index-path=vol/iw
"