Add memory adapter