Skip to content

Commit

Permalink
Merge pull request #7527 from fstagni/80_fixWD
Browse files Browse the repository at this point in the history
[8.0] fix: restored MemoryUsed in initialValues
  • Loading branch information
fstagni committed Mar 21, 2024
2 parents 13cd7f9 + ad4e9ce commit 26f60b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DIRAC/WorkloadManagementSystem/JobWrapper/Watchdog.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,8 @@ def calibrate(self):
self.log.warn("Could not get rss info from profiler", result["Message"])
else:
self.initialValues["RSS"] = result["Value"]
self.initialValues["MemoryUsed"] = result["Value"]
self.parameters["MemoryUsed"] = []
self.log.verbose("RSS(MB)", f"{result['Value']:.1f}")
self.parameters["RSS"] = []

Expand Down

0 comments on commit 26f60b6

Please sign in to comment.