Use 'evictAll' to clear the cache, instead of resizing it.