Set the cache size (number of entries) for the method cache.
