Skip to content

Commit

Permalink
fix: restored MemoryUsed in initialValues
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Mar 21, 2024
1 parent 13cd7f9 commit ad4e9ce
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 ad4e9ce

Please sign in to comment.