Commit Graph

3 Commits

Author SHA1 Message Date
Tim Jacomb dd7488bc90
Increase memory for war assembly (#8856) 2024-01-12 20:15:41 +00:00
Basil Crow 56a03a5b13
Upgrade Surefire from 2.22.2 to 3.0.0-M7 (#6652) 2022-06-12 16:55:47 -07:00
Baptiste Mathus 1015b395c1 Add the .mvn directory and set default Xmx value
Using the new feature introduced in Maven 3.3.1.
See
https://maven.apache.org/docs/3.3.1/release-notes.html#JVM_and_Command_Line_Options
for more details.

Possibly a long term better solution/first encounter for newcomers. When
people can't build Jenkins because of wrong default memory settings.
Like https://goo.gl/Co9kye

The "Xmx800m" was chosen after looking at last successful ci.j.o builds.
Max memory displayed by Maven being ~730MB. So putting 800 to leave the
build some room so that the GC has less chance to have to chime in too
often.
2016-03-24 16:43:28 +01:00