File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,19 @@ jobs:
2121 uses : actions/setup-java@v1
2222 with :
2323 java-version : 1.8
24+ - name : Check system resources
25+ run : |
26+ echo "CPU cores:"
27+ nproc
28+ echo "Memory (MB):"
29+ free -m
30+ echo "Disk space:"
31+ df -h
2432 - name : Unit Test
2533 env :
26- MAVEN_OPTS : " -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap-dump.hprof -Xmx6g -Xms6g -XX:MaxMetaspaceSize=1g -XX:MetaspaceSize=512m"
34+ MAVEN_OPTS : " -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp/heap-dump.hprof -Xmx12g -Xms12g -XX:MaxMetaspaceSize=1g -XX:MetaspaceSize=512m"
2735 run : mvn compile -B
28- && mvn clean test -X - DisSkipIntegrationTest=true "-Dtest.logging.level=ERROR" --fail-at-end --batch-mode
36+ && mvn clean test -DisSkipIntegrationTest=true "-Dtest.logging.level=ERROR" --fail-at-end --batch-mode
2937 - name : Upload heap dump
3038 if : always()
3139 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments