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

Merged
dominique.eiflaender1 merged 1 commits from MetaSpaceIncrease into master 2024-01-11 15:20:54 +01:00

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")) {