HCOLL-113 corrected a bug in the memory assignment