injectMemory