Object cache settings can be configured in Site Collection level from SharePoint user interface. We can configure the maximum cache size in we application level on the front-end web server by placing restrictions on maximum amount of memory to all site collection cache. We can configure Object cache settings for a web application in front-end web server by using the steps below,
Navigate to IIS Manager Select the web application. Right click on the web application, Click on Explore. We can see Windows Explorer with directories
Select web.config file and open the file in any editor tool. Check for <ObjectCache tag, to change the size of the cache modifies maxSize from 100MB to required value. Save and update the file.