【问题标题】:Max disk cache size in google chrome谷歌浏览器中的最大磁盘缓存大小
【发布时间】:2014-04-12 09:14:30
【问题描述】:

我想问一下谷歌浏览器缓存的最大大小是多少。我尝试在命令行中通过“-disk-cache-size=”设置 2GB,但它减少到 200 MB(在 chrome://net-internals/#httpCache 中检查)。我最终需要 4GB 或更多空间用于缓存。

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

【问题讨论】:

    标签: google-chrome caching size


    【解决方案1】:

    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!
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-17
      • 2012-07-31
      相关资源
      最近更新 更多