Recode for memoryManagerAddRecord