You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2023/06/06 02:13:25 UTC

[iotdb] branch benchants_branch updated: native-image

This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch benchants_branch
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/benchants_branch by this push:
     new cf1a2fd43ed native-image
cf1a2fd43ed is described below

commit cf1a2fd43ed00bb64e7de84e09a747f3ca1f4689
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Jun 6 10:13:16 2023 +0800

    native-image
---
 server/pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/server/pom.xml b/server/pom.xml
index e27e84bdbd7..e14e9d8d355 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -480,9 +480,13 @@
                                 <buildArg>-J--add-opens=java.base/java.nio=ALL-UNNAMED</buildArg>
                                 <buildArg>-J--add-opens=java.base/java.io=ALL-UNNAMED</buildArg>
                                 <buildArg>-J--add-opens=java.base/java.net=ALL-UNNAMED</buildArg>
+                                <buildArg>-J-Xms12G</buildArg>
+                                <buildArg>-J-Xmx12G</buildArg>
+                                <buildArg>-J-XX:MaxDirectMemorySize=2G</buildArg>
+                                <buildArg>-J-Djdk.nio.maxCachedBufferSize=536870912</buildArg>
                                 <!--                                <buildArg>&#45;&#45;initialize-at-run-time=io.micronaut.configuration.metrics,io.micrometer,io.netty</buildArg>-->
                                 <!-- For Quick Build (22.1+) -->
-                                <buildArg>-Ob</buildArg>
+<!--                                <buildArg>-Ob</buildArg>-->
                             </buildArgs>
                             <mainClass>org.apache.iotdb.db.service.DataNode</mainClass>
                             <!-- Start: Workaround for 22.2: Disable the default Java Module Path using USE_NATIVE_IMAGE_JAVA_PLATFORM_MODULE_SYSTEM -->