diff options
| author | Michael Peter Christen <mc@yacy.net> | 2021-07-19 20:04:11 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2021-07-19 20:04:11 +0200 |
| commit | 15b7461bc7968bcfd8dfc516cf91c3548195e4a3 (patch) | |
| tree | 5075622d4cf00f4fcd2736e3e4fff7ae49d33f80 /startYACY.bat | |
| parent | c3b3087077a2f9287cbe8e7665fef5cd02d26d99 (diff) | |
removed Xms java memory startup parameter
We will use the default value for now on.
This is much better for resource economy and fits better into a
container/docker/kubernetes strategy.
Furthermore, a small memory footprint is essential for the usage on
small devices like RaspberryPi.
Diffstat (limited to 'startYACY.bat')
| -rw-r--r-- | startYACY.bat | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/startYACY.bat b/startYACY.bat index 0c72bd11d..c31a4b266 100644 --- a/startYACY.bat +++ b/startYACY.bat @@ -11,7 +11,7 @@ Set CLASSPATH=lib\yacycore.jar REM Please change the "javastart" settings in the web-interface "Basic Configuration" -> "Advanced" set jmx= set jms= -set javacmd=-Xmx600m -Xms180m +set javacmd=-Xmx600m set priolvl=10 set priority=/BELOWNORMAL if exist DATA\SETTINGS\httpProxy.conf GoTo :RENAMEINDEX @@ -56,7 +56,6 @@ Rem This target is used to read java runtime parameters out of the yacy config f :GETSTARTOPTS for /F "tokens=1,2 delims==" %%i in (DATA\SETTINGS\yacy.conf) do ( if "%%i"=="javastart_Xmx" set jmx=%%j - if "%%i"=="javastart_Xms" set jms=%%j if "%%i"=="javastart_priority" set priolvl=%%j ) if defined jmx set javacmd=-%jmx% |
