Thank you for digging into this problem which has been plaguing us. (INFRA-2548?) Your analysis sounds right. The next step would be PRs to infrastructure repositories.
256Mb seems low for a Surefire JVM—this needs to run Jenkins and all plugins plus whatever your test code is doing. Of course 2Gb is also a bit tight for `JenkinsRule` tests. I agree that `agent.jar` should be able to run in quite a bit less than whatever HotSpot ergonomics would pick by default, and probably `mvn` could as well, leaving more room for the Surefire JVM and any extra processes such as mock agents, Git, Docker fixtures, etc. I wonder if there is any way to have all the JVMs in this VM coöperate to jointly use, say, 75% of available RAM in whatever proportion. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1t-OO_xf4JC7ABZApepXSQ44P2SphF_8j0cf8FsZNU1A%40mail.gmail.com.
