diff --git a/api/src/job.js b/api/src/job.js index e637a7e..e573843 100644 --- a/api/src/job.js +++ b/api/src/job.js @@ -275,7 +275,7 @@ class Job { } switch (key) { case 'cg-mem': - memory = parse_int(value); + memory = parse_int(value) * 1000; break; case 'exitcode': code = parse_int(value); diff --git a/readme.md b/readme.md index 31ccf5c..b765a5b 100644 --- a/readme.md +++ b/readme.md @@ -301,7 +301,8 @@ Content-Type: application/json "message": null, "status": null, "cpu_time": 8, - "wall_time": 154 + "wall_time": 154, + "memory": 1160000 } } ```