getRegionSize of MemRegionObject