clear memo caches