clear dependency cache and mem clear