Resident memory isn't stable even when truncated to a
multiple of ten milllion. I.e., zero digits of useful precision.
So just set this field to zero like the other flaky values.
}
}
// add some rounding to try to make regtest stable
+ // most of these change all the time
switch (i)
{
case 7:
+ case 5:
case 9:
case 11:
case 12:
case 15:
res = 0U;
break;
- case 5:
- res = res/10000000 * 10000000;
- break;
case 10:
res = res/100000000 * 100000000;
break;
data (2): 4096
stack (3): 16777216
core (4): -1
-rss (5): 40000000
+rss (5): 0
memlock (6): 0
nproc (7): 0
nofile (8): 3