diff --git a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
index bab5faa15cb5..332a25fcf230 100644
--- a/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
+++ b/server/protocols/jmap-integration-testing/cassandra-jmap-integration-testing/pom.xml
@@ -233,7 +233,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- -Xms512m -Xmx1024m
+ -Xms512m -Xmx2048m
true
7200
diff --git a/server/protocols/jmap-integration-testing/rabbitmq-jmap-integration-testing/pom.xml b/server/protocols/jmap-integration-testing/rabbitmq-jmap-integration-testing/pom.xml
index 3172230d348b..540f3f4e8aa7 100644
--- a/server/protocols/jmap-integration-testing/rabbitmq-jmap-integration-testing/pom.xml
+++ b/server/protocols/jmap-integration-testing/rabbitmq-jmap-integration-testing/pom.xml
@@ -175,7 +175,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- -Xms512m -Xmx1024m
+ -Xms512m -Xmx2048m
true
7200