set cacheSize smaller