Caching a 302MB object

后端 未结 4 869
你的背包
你的背包 2021-01-05 21:51

I have an object (actually, an array of objects) that\'s 302MB. When I try to cache it with memcached it doesn\'t work, no matter how much memory I give memcached, apparentl

4条回答
  •  隐瞒了意图╮
    2021-01-05 22:01

    In alternative you can change the limit quickly by edit the configuration file [/etc/memcached.conf] adding:

    # Increase limit 
    -I 512M
    

    After restart your service.

提交回复
热议问题