From 3cc8cc43f0fc05575fb9fd6782935b0f3d4172ee Mon Sep 17 00:00:00 2001 From: Florian Spiess Date: Wed, 31 Jan 2024 10:57:40 +0100 Subject: [PATCH] Add JVM argument to gradle build file to fix stack trace on start #156 --- cottontaildb-dbms/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cottontaildb-dbms/build.gradle b/cottontaildb-dbms/build.gradle index 34a5f8d18..0be7181be 100644 --- a/cottontaildb-dbms/build.gradle +++ b/cottontaildb-dbms/build.gradle @@ -42,7 +42,7 @@ dependencies { application { applicationName = 'cottontaildb' mainClassName = 'org.vitrivr.cottontail.CottontailKt' - applicationDefaultJvmArgs = ["-Xms2G", "-Xmx4G"] + applicationDefaultJvmArgs = ['--add-opens', 'java.base/sun.nio.ch=ALL-UNNAMED', "-Xms2G", "-Xmx4G"] } /* Publication of Cottontail DB to Maven Central. */