diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 9fa228d5..eca85b37 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -103,4 +103,4 @@ jobs:
path: staging
env:
- MAVEN_OPTS: -Xmx10G
\ No newline at end of file
+ MAVEN_OPTS: -Xmx512m
\ No newline at end of file
diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml
index 4ef94b1d..55ba46d1 100644
--- a/.github/workflows/publish.yaml
+++ b/.github/workflows/publish.yaml
@@ -17,4 +17,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
env:
- MAVEN_OPTS: -Xmx10G
\ No newline at end of file
+ MAVEN_OPTS: -Xmx512m
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 0adbfd91..33211c13 100644
--- a/pom.xml
+++ b/pom.xml
@@ -278,7 +278,7 @@
1
false
- @{argLine} -Xmx9500m -Djava.awt.headless=true -Dmatsim.preferLocalDtds=true
+ @{argLine} -Xmx6500m -Djava.awt.headless=true -Dmatsim.preferLocalDtds=true