Skip to content

Commit 8a6ba25

Browse files
committed
Increase Xmx
1 parent 376e097 commit 8a6ba25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ jobs:
7070
java-version: ${{ matrix.java-version }}
7171
distribution: temurin
7272
- name: Test
73-
run: mvn -B -e -fae test "-Dsurefire.rerunFailingTestsCount=3"
73+
run: mvn -B -e -fae test "-Dsurefire.rerunFailingTestsCount=3" "-DargLine=-Xmx1G"

activemq-kahadb-store/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
<configuration>
179179
<forkCount>1</forkCount>
180180
<reuseForks>false</reuseForks>
181-
<argLine>${surefire.argLine}</argLine>
181+
<argLine>-enableassertions -Xmx1G</argLine>
182182
<runOrder>alphabetical</runOrder>
183183
<systemPropertyVariables>
184184
<org.apache.activemq.default.directory.prefix>target</org.apache.activemq.default.directory.prefix>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@
972972
<java.awt.headless>true</java.awt.headless>
973973
<org.apache.activemq.kahaDB.files.skipMetadataUpdate>true</org.apache.activemq.kahaDB.files.skipMetadataUpdate>
974974
</systemPropertyVariables>
975-
<argLine>-enableassertions -Xmx4g -XX:MaxDirectMemorySize=4096m</argLine>
975+
<argLine>-enableassertions -Xmx1G</argLine>
976976
</configuration>
977977
</plugin>
978978
<plugin>

0 commit comments

Comments
 (0)