We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e6f19 commit 37a0493Copy full SHA for 37a0493
pmd.groovy
@@ -80,7 +80,8 @@ class Config {
80
81
def execute(command) {
82
ProcessBuilder builder = new ProcessBuilder(command.split(' '))
83
- builder.environment().put("HEAPSIZE", "256m")
+ def env = builder.environment()
84
+ env.put("JAVA_OPTS", "-XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=30")
85
Process process = builder.start()
86
process.consumeProcessOutput(System.out, System.err)
87
process.waitFor()
0 commit comments