Skip to content

Commit

Permalink
Try fix "java.lang.OutOfMemoryError: GC overhead limit exceeded"
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Sep 4, 2023
1 parent b0d9b03 commit 75ee87b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
branches:
- master

env:
JAVA_OPTS: -Xms6g -Xmx6g -XX:+UseG1GC
JDK_JAVA_OPTIONS: -Xms6g -Xmx6g -XX:+UseG1GC # See https://stackoverflow.com/a/73708006

jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 75ee87b

Please sign in to comment.