I want to ask what's the maximum size of cache in Google Chrome. I tried to set 2GB by "-disk-cache-size=" in command line, but it decreased to 200 MB (checked in chrome://net-internals/#httpCache). I ultimately need 4GB or more space for cache.
Firefox and IE have 1024 MB limit. Is there any limit for chrome? Why the max size of cache memory were decreased? Is it possible to set unlimited cache memory?
1 Answer. The explanation: Maximum Cache size for Chrome is 300 MB, for Safari it is unlimited, For Opera 10+ it is 400 MB, for Firefox 17 the maximum cache size is 1024 MB, for Internet Explorer 6,7,8 it is 50 MB and for Internet Explorer maximum cache size is 250 MB.
The size of this memory ranges from 1 MB to 8MB.
The global limit is calculated as 50% of free disk space. In Firefox, an internal browser tool called the Quota Manager keeps track of how much disk space each origin is using up, and deletes data if necessary. So if the free space on your hard drive is 500 GB, then the total storage for a browser is 250 GB.
Google chrome stores cache size as a signed integer, so the maximum size is 2147483647 bytes or just under 2gb.
Here is what happens when I set the cache size to 2gb, for reference.
[3756:3756:0927/112842:ERROR:command_line_pref_store.cc(115)] The value 2147483648 of disk-cache-size can not be converted to integer, ignoring!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With