diff --git a/gradle/javaTestProject.gradle b/gradle/javaTestProject.gradle index 3d3fcfe6ca..09a5ddbe4f 100644 --- a/gradle/javaTestProject.gradle +++ b/gradle/javaTestProject.gradle @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -154,6 +154,7 @@ def initTestJVM(Task task, String rootDirName) { '-Dmachine.name=' + machineName, '-Djava.io.tmpdir=' + testTempDir, '-Duser.data.dir=' + userHome + '/.ghidra/.ghidra-' + srcTreeName + '-Test', + '-XX:ErrorFile=' + testReportDir + '/java_error_%p.log', '-Dcpu.core.override=8', '-XX:ParallelGCThreads=8', '-XX:+UseParallelGC',