You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...by taking physical memory into account when deciding how many test
processes to spawn.
Even though `macos-14` has 3 CPUs, there is only 7GB of memory.
Each test process has a max heap of 2GB, with the addition of
Gradle this is enough to OOM the machine.
So we limit the number of test processes based on RAM
Now:
* 3GB reserved for Gradle (org.gradle.jvmargs=-Xmx3072M) and the OS
* 4GB remaining
* Heap size: 2GB
* => 2 forks
Fixes 21168
Assisted-by: Claude Opus 4.8 - diagnosis & some code
0 commit comments