On Jan 12, 5:52 am, nkranes <[email protected]> wrote:
> I am using the Windows version of memcached 1.2.5 in production
> without issue.  I am attempting to upgrade to 1.4.4 
> (fromhttp://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.

  That's kind of funny.  Apparently we added the option but didn't try
it in a debug build.

  We'll get a test written for it.

  In the meantime, it *should* be safe to remove that assertion.

Reply via email to