[API] PeakRamUsage strange values for tasks (differs from deadline monitor)

Hello,
I’m currently writing some post task script to output the peakramusage for each task and i’m facing something very strange, i’ve made a simple code that is evaluated as a post task script :

deadlinePlugin = args[0]
task = deadlinePlugin.GetCurrentTask()
print("peak : {}".format(task.PeakRamUsage))

The peak ram printed with the script is 1781923840
The peak ram that deadline monitor shows is 19.880 GB

I’ve tried to find the correct convertion but even the peakram is the same in deadline UI between frames, the peakram i get by scripting is varying a lot. Exemple for 2 frames :

1919700992 (script) => 19.974GB (monitor)
1781923840 (script) => 19.880GB (monitor)

Did i do something wrong ?

Thanks for your help solving this problem.

Hello, Am I the only one facing this issue ? Thanks