rmuir opened a new issue, #11924: URL: https://github.com/apache/lucene/issues/11924
### Description on e.g. an 8-core machine, gradle might spin up 4 jvms by default. but each jvm is ergonomically sized for an 8-core machine. so you get `8 * 4 = 32` "threads" or whatever it may be. solution, pass: `-XX:ActiveProcessorCount=1` to each jvm we fork, so that it sizes compiler, gc, threadpools appropriately. on my machine, i've been passing this via `org.gradle.jvmargs` and `tests.jvmargs` for over a year. but we need to default this on. it is still missing from some forked jvms (e.g. javadoc), and when these run, my computer becomes unresponsive because resources are allocated incorrectly. I opened this issue before, but I don't think I was able to communicate both the issue and how bad it is. Let's fix it this time. ### Version and environment details _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org