Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Max disk cache size in google chrome

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?

like image 943
damian004 Avatar asked Mar 09 '14 09:03

damian004


People also ask

What is the maximum cache size for Chrome?

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.

What is the maximum size of cache memory?

The size of this memory ranges from 1 MB to 8MB.

What is browser cache limit?

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.


1 Answers

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!
like image 200
user2525056 Avatar answered Sep 21 '22 20:09

user2525056