clear cache on memory warning