Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8214003

Limit default test jobs based on memory size

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Backports

        Description

        We have a few machines in Mach5 with 8 cpus but only 4GB of ram. Some test tasks fail there because RunTest.gmk sets concurrency to 4 by default. We need to add a limit to the number of default test jobs based on memory, just like we already do for build jobs in configure.

        I have done some testing on these hosts and they seem stable with concurrency set to 2. Because of this I propose limit test jobs to "mem in GB" / 2.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  erikj Erik Joelsson
                  Reporter:
                  erikj Erik Joelsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: