add memory in the item