drop memory caches only when is dirty