manoon
V2EX  ›  问与答

虽然知道,用 MICLOG 的人应该不多了,但我还是想请教一下。

  •  
  •   manoon · Jun 4, 2014 · 3602 views
    This topic created in 4404 days ago, the information mentioned may be changed or developed.
    "/base/python_runtime/python_lib/versions/1/google/appengine/api/memcache/_
    _init__.py", line 200, in _validate_encode_value
    'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value)))
    ValueError: Values may not be more than 1000000 bytes in length; received
    3080984 bytes

    像这种,除了删文章,还有其它的解决方案不?
    因为这个MEMCACHE是安装在GAE上面的,我们有办法修改MAX_VALUE_SIZE的值不?

    还有个不科学的解决方案,我直接修改代码,不启用MEMCACHE?
    4 replies    2014-06-04 22:38:17 +08:00
    google456
        1
    google456  
       Jun 4, 2014
    MICLOG 用户 但是不懂技术 帮顶
    xuming
        2
    xuming  
       Jun 4, 2014
    GAE限制Memcache最大1m,这个是没法修改的,不启用Memcache当然可以,不过估计配额很容易超标。

    MICLOG??
    manoon
        3
    manoon  
    OP
       Jun 4, 2014
    @xuming 对不住作者了,少打了一个O
    google456
        4
    google456  
       Jun 4, 2014
    @xuming 惊现老大
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3161 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 12:47 · PVG 20:47 · LAX 05:47 · JFK 08:47
    ♥ Do have faith in what you're doing.