Skip to content

Commit

Permalink
Merge pull request #21769 from madurangasiriwardena/oom2
Browse files Browse the repository at this point in the history
Add HeapDumpOnOutOfMemoryError config for the surefire plugin
  • Loading branch information
madurangasiriwardena authored Nov 20, 2024
2 parents 2604242 + 2df5367 commit 693dc3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependency-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- cron: '0 15 * * *'

env:
MAVEN_OPTS: -Xmx4g -Xms1g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./heap-dump.hprof
MAVEN_OPTS: -Xmx4g -Xms1g -XX:+HeapDumpOnOutOfMemoryError
REPOSITORY: product-is
GIT_USERNAME: jenkins-is-staging
GIT_EMAIL: [email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-builder-test-JDK11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
required: true

env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./heap-dump.hprof
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+HeapDumpOnOutOfMemoryError


jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<version>2.22.1</version>
<configuration>
<!--<argLine>-Xmx1024m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006</argLine>-->
<argLine>-Xmx1024m
<argLine>-Xmx1024m -XX:+HeapDumpOnOutOfMemoryError
-Dorg.apache.jasper.compiler.disablejsr199=true
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
Expand Down

0 comments on commit 693dc3a

Please sign in to comment.