Output more info if it's likely OOM killer has run
@@ -201,7 +201,12 @@ public class RankSetupValidator extends Validator {
.append(binaryName)
.append("' (exit code: ")
.append(exitCode)
- .append("). This could be due to full disk, out of memory etc.");
+ .append(").");
+ if (exitCode == 137)
+ message.append(" Exit code 137 usually means that the program has been killed by the OOM killer")
+ .append(", too little memory is allocated for the instance/container/machine");
+ else
+ message.append(" This could be due to full disk, out of memory etc. ");
} else {
for (String line : output.split("\n")) {
// Remove debug lines from start script
