Jdesk / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

assertion on objects > 1MB #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using the Windows version of memcached 1.2.5 in production
without issue.  I am attempting to upgrade to 1.4.4 (from
http://labs.northscale.com/memcached-packages/) to take advantage of
the configurable item size limitation.  Whenever I try to store an
item > 1MB I get the following error:

Assertion failed: it->nbytes < (1024 * 1024), file items.c, line 284

The line of code in items.c is:
assert(it->nbytes < (1024 * 1024));  /* 1MB max size */

So how could this possibly work?  I can remove that assertion, but was
curious to see if anyone knew why it was there considering the item
limit *should* now be configurable.

Original issue reported on code.google.com by dsalli...@gmail.com on 12 Jan 2010 at 6:01

GoogleCodeExporter commented 9 years ago
Finally found a solution to this problem.

Original comment by dsalli...@gmail.com on 3 Apr 2010 at 2:05

GoogleCodeExporter commented 9 years ago
please post your solution here, i'm having the same problem!

Original comment by felipe.e...@gmail.com on 26 Jun 2013 at 11:21