integrate memory clean