From c618a979fb0720d9a97f2ffd281723f7a5a7adb6 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Sun, 15 Oct 2023 23:59:34 +0200 Subject: [PATCH] add "--add-opens" option to potentially fix an error with a non starting HMIPServer in case RRD measurements are running (cf. https://homematic-forum.de/forum/viewtopic.php?f=65&t=80179&p=780735#p780735, https://www.mail-archive.com/user@spark.apache.org/msg78522.html) --- buildroot-external/overlay/base/etc/init.d/S62HMServer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildroot-external/overlay/base/etc/init.d/S62HMServer b/buildroot-external/overlay/base/etc/init.d/S62HMServer index 57431eefc6..87818e671e 100755 --- a/buildroot-external/overlay/base/etc/init.d/S62HMServer +++ b/buildroot-external/overlay/base/etc/init.d/S62HMServer @@ -161,7 +161,7 @@ start() { # get the architecture ARCH=$(uname -m) - JAVAOPT= + JAVAOPT="--add-opens java.base/sun.nio.ch=ALL-UNNAMED" # calculate the maximum used heap size (-Xmx) depending on the # total amount of RAM we have (use max. 25%) - use multiple of 128MB