Skip to content

Commit

Permalink
Add the flag SoftRefLRUPolicyMSPerMB
Browse files Browse the repository at this point in the history
  • Loading branch information
vmishenev committed Nov 19, 2024
1 parent fa90692 commit 9e26139
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ class SequentialTasksExecutionStressTest : AbstractGradleIntegrationTest() {
buildVersions,
"runTasks",
"-Ptask_number=$iterations",
jvmArgs = listOf("-Xmx1G", "-XX:MaxMetaspaceSize=1000m"),
jvmArgs = listOf(
"-Xmx1G", "-XX:MaxMetaspaceSize=500m",
"-XX:SoftRefLRUPolicyMSPerMB=10" // to free up the metaspace on JVM 8, see https://youtrack.jetbrains.com/issue/KT-55831/
),
enableBuildCache = false,
).buildRelaxed()

Expand Down

0 comments on commit 9e26139

Please sign in to comment.