BUG-11023 addendum adds validation for heapsize