Skip to content

Position of meminitial and memmax on comand line #648

@TobiX

Description

@TobiX

It seems groovy-eclipse-batch since 2.4.13-02 doesn't like the extra option for meminitial (-J-Xms) and memmax (-J-Xmx) after the arguments file anymore. You get this error:

Failure executing groovy-eclipse compiler:
File -J-Xmx2048m is missing

The simplest fix seems to me to move this block of code

if (isNotBlank(config.getMaxmem())) {
cli.addArguments(new String[] {"-J-Xmx" + config.getMaxmem()});
}
if (isNotBlank(config.getMeminitial())) {
cli.addArguments(new String[] {"-J-Xms" + config.getMeminitial()});
}

some lines up before the argument file, right?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions