finish mem1