6868 CLOUD_PROVIDER : ${{ matrix.runConfig.cloud }}
6969 JDBC_TEST_SUITES : ${{ matrix.category.suites }}
7070 ADDITIONAL_MAVEN_PROFILE : ${{ matrix.additionalMavenProfile }}
71+ JAVA_TOOL_OPTIONS : " -Xms1g -Xmx4g"
7172 run : ci\\test_windows.bat
7273
7374 test-mac :
@@ -104,7 +105,7 @@ jobs:
104105 CLOUD_PROVIDER : ${{ matrix.runConfig.cloud }}
105106 JDBC_TEST_SUITES : ${{ matrix.category.suites }}
106107 ADDITIONAL_MAVEN_PROFILE : ${{ matrix.additionalMavenProfile }}
107- MAVEN_OPTS : " -DargLine= -Xmx4g" # Increase surefire memory because arm64 macOS machines have not enough memory by default
108+ JAVA_TOOL_OPTIONS : " -Xms1g -Xmx4g" # Increase surefire memory because arm64 macOS machines have not enough memory by default
108109 run : /opt/homebrew/bin/bash ./ci/test_mac.sh
109110
110111 test-rocky :
@@ -131,6 +132,7 @@ jobs:
131132 TARGET_DOCKER_TEST_IMAGE : ${{ matrix.runConfig.image }}
132133 JDBC_TEST_SUITES : ${{ matrix.category.suites }}
133134 ADDITIONAL_MAVEN_PROFILE : ${{ matrix.additionalMavenProfile }}
135+ JAVA_TOOL_OPTIONS : " -Xms1g -Xmx4g"
134136 run : ./ci/test.sh
135137
136138 test-linux :
@@ -158,6 +160,7 @@ jobs:
158160 TARGET_DOCKER_TEST_IMAGE : ${{ matrix.image }}
159161 JDBC_TEST_SUITES : ${{ matrix.category.suites }}
160162 ADDITIONAL_MAVEN_PROFILE : ${{ matrix.additionalMavenProfile }}
163+ JAVA_TOOL_OPTIONS : " -Xms1g -Xmx4g"
161164 run : ./ci/test.sh
162165
163166 test-linux-old-driver :
@@ -183,4 +186,5 @@ jobs:
183186 TARGET_DOCKER_TEST_IMAGE : ${{ matrix.image }}
184187 JDBC_TEST_SUITES : ${{ matrix.category.suites }}
185188 is_old_driver : ${{ matrix.is_old_driver }}
189+ JAVA_TOOL_OPTIONS : " -Xms1g -Xmx4g"
186190 run : ./ci/test.sh
0 commit comments