Skip to content

Commit

Permalink
#3412 env
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 9, 2024
1 parent 6d886cd commit c0cc860
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install: |
export JAVA_OPTS="-Xmx8g"
merge:
script: |
mvn clean install -Pqulice --errors -Dstyle.color=never
JAVA_OPTS="-Xmx8g" mvn clean install -Pqulice --errors -Dstyle.color=never
release:
pre: false
script: |-
Expand Down
4 changes: 2 additions & 2 deletions eo-runtime/src/test/java/org/eolang/MainTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ final class MainTest {
@BeforeAll
static void checkHeapSize() {
MatcherAssert.assertThat(
"The maximum heap size is not big enough, some tests may fail",
"The maximum heap size is not big enough, some tests may fail, try to set JAVA_OPTS environment variable to '-Xmx8g'",
Runtime.getRuntime().maxMemory(),
Matchers.greaterThan(8_000_000_000L)
Matchers.greaterThanOrEqualTo(8L * 1024 * 1024 * 1024)
);
}

Expand Down

0 comments on commit c0cc860

Please sign in to comment.