Zero buffer and add memory.