Commit 37b6c37c authored by Max's avatar Max
Browse files

Tweak out of memory warning

parent faa0aea7
......@@ -1022,7 +1022,7 @@ public class JobAgent implements Runnable {
// check memory usage (with 20% buffer)
if (jobMaxMemoryMB != 0 && RES_VMEM.doubleValue() > jobMaxMemoryMB * 1.2)
error = "Killing the job (using more than " + jobMaxMemoryMB + " memory (right now " + RES_VMEM + "))";
error = "Killing the job (using more than " + jobMaxMemoryMB + " MB memory (right now ~" + Math.round(RES_VMEM) + "MB))";
// cpu
final long time = System.currentTimeMillis();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment