Hotfix: Increased MaxMetaspaceSize to 512m to prevent OOM in performace tests

This commit is contained in:
Dominique Eifländer 2024-01-11 15:16:48 +01:00
parent 72ad7cc53d
commit e1da2802b0

View File

@ -83,7 +83,7 @@ tasks.test {
tasks.named<BootBuildImage>("bootBuildImage") {
environment.put("BPE_DELIM_JAVA_TOOL_OPTIONS", " ")
environment.put("BPE_APPEND_JAVA_TOOL_OPTIONS", "-Dfile.encoding=UTF-8")
environment.put("BPE_APPEND_JAVA_TOOL_OPTIONS", "-XX:MaxMetaspaceSize=512m -Dfile.encoding=UTF-8")
imageName.set("nexus.knecon.com:5001/red/${project.name}")// must build image with same name always, otherwise the builder will not know which image to use as cache. DO NOT CHANGE!
if (project.hasProperty("buildbootDockerHostNetwork")) {