Details
Description
It is not possible to configure memory limits for object size. Default 1M looks like too low.
$ gem install 'dalli'
|
$ ruby <<EOF
|
require 'rubygems'
|
require 'dalli'
|
c = Dalli::Client.new('localhost:11211')
|
three_megabytes = 'x' * 3_000_000
|
c.set('foo', three_megabytes)
|
EOF
|
It will output
W, [2015-04-06T02:04:07.859526 #26808] WARN -- : Value for foo over max size: 1048576 <= 3000007
|
Attachments
Issue Links
For Gerrit Dashboard: MB-14288 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
49373,6 | MB-14288: Add a test program to store data | master | memcached | Status: MERGED | +2 | +1 |
49432,3 | MB-14288: Allow allocations > 1M | master | moxi | Status: MERGED | +2 | +1 |
49436,2 | MB-14288: Don't crash for closed | master | moxi | Status: MERGED | +2 | +1 |
49437,2 | MB-14288: Log if we're failing to allocate item | master | moxi | Status: MERGED | +2 | +1 |
49515,3 | MB-14288: Add to regression test | master | testrunner | Status: MERGED | +2 | +1 |
50416,1 | MB-14739: Backport fix for MB-14288 | master | moxi | Status: ABANDONED | 0 | 0 |
50417,2 | MB-14739: Backport fix for MB-14288 | 3.0.x | moxi | Status: MERGED | +2 | +1 |