Skip to content

Commit

Permalink
test(GitHub CI): log memory management
Browse files Browse the repository at this point in the history
  • Loading branch information
edalex-ian committed Jan 8, 2024
1 parent 208ba1d commit afcd389
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,13 @@ jobs:
name: CoverageReport-newui-${{ matrix.newui }}
path: coverage_report.tar

- name: Save Memory Logs
if: failure()
uses: actions/upload-artifact@v3.1.3
with:
name: memLogs-new_${{ matrix.newui }}-psql_${{ matrix.pgsql-image }}
path: /tmp/sbt*

rest-module-testing:
needs: build_and_check

Expand Down
4 changes: 4 additions & 0 deletions autotest/.jvmopts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
-Xms2g
-Xmx3g
-XX:+UseG1GC
-Xlog:gc*:file=/tmp/sbt-gc-%t.log:tags,time,uptime,level:filecount=10,filesize=2M
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/sbt-<pid>.hprof
-XX:+UseGCOverheadLimit

0 comments on commit afcd389

Please sign in to comment.