Update cleanmemory.sh