Skip to content

Commit

Permalink
IGNITE-24122 Add -Xmx1g to defaultJvmArgs (apache#4976)
Browse files Browse the repository at this point in the history
Also, decrease default heap size for unit tests to 1g
  • Loading branch information
rpuch authored Dec 27, 2024
1 parent dcb7f1c commit aa654a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ ext {
defaultJvmArgs = addOpens + [
"-Dio.netty.tryReflectionSetAccessible=true",
"-XX:+HeapDumpOnOutOfMemoryError",
"-ea"
"-ea",
"-Xmx1g"
]

compilerArgs = [
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/java-junit5.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test {
testLogging {
events "passed", "skipped", "failed", "standard_error"
}
maxHeapSize = '2g'
maxHeapSize = '1g'

// Define default test timeouts to avoid everhanging tests.
systemProperty 'junit.jupiter.execution.timeout.testable.method.default', '10m'
Expand Down

0 comments on commit aa654a6

Please sign in to comment.