diff --git a/java/e2e-v4/pom.xml b/java/e2e-v4/pom.xml
index 63cb423..bc36e5e 100644
--- a/java/e2e-v4/pom.xml
+++ b/java/e2e-v4/pom.xml
@@ -113,6 +113,12 @@
com.automq.rocketmq
rocketmq-cli
5.1.3-automq-0-SNAPSHOT
+
+
+ org.apache.rocketmq
+ rocketmq-client-java
+
+
org.awaitility
@@ -176,7 +182,7 @@
maven-surefire-plugin
3.1.2
- -Xmx1024m
+ -Xms1024m -Xmx1024m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m
1
false
diff --git a/java/e2e/pom.xml b/java/e2e/pom.xml
index 69ebd40..2773a74 100644
--- a/java/e2e/pom.xml
+++ b/java/e2e/pom.xml
@@ -194,7 +194,7 @@
1
1
true
- -Xmx1024m -XX:MaxMetaspaceSize=256m
+ -Xms1024m -Xmx1024m -XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=256m
false