谷歌浏览器中的最大磁盘缓存大小

dam*_*004 7 size caching google-chrome

我想问一下Google Chrome中缓存的最大大小是多少.我试图在命令行中通过"-disk-cache-size ="设置2GB,但它减少到200 MB(在chrome:// net-internals/#httpache中检查).我最终需要4GB或更多的空间用于缓存.

Firefox和IE限制为1024 MB.铬有限制吗?为什么缓存内存的最大大小减少了?是否可以设置无限的缓存?

use*_*056 5

Google chrome 将缓存大小存储为有符号整数,因此最大大小为 2147483647 字节或略低于 2gb。

这是我将缓存大小设置为 2gb 时发生的情况,以供参考。

[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!
Run Code Online (Sandbox Code Playgroud)