Return the diff of total heap size correctly.
contributed-by: ykubota