#define POWER_BLOCK 1048576
I will play with it. Thanks a lot Toru.

- Benjamin

On Mon, Dec 8, 2008 at 10:09 PM, Toru Maesaka <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> If you MUST, go into slabs.c and grep for the constant, 'POWER_BLOCK'.
>
> Cheers,
> Toru
>
> On Tue, Dec 9, 2008 at 2:37 PM, bsergean <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >
> http://www.socialtext.net/memcached/index.cgi?faq#what_are_some_limits_in_memcached_i_might_hit
> > """
> > Stored data cannot exceed 1 megabyte in size, since that is the
> > largest typical slab size.
> > """
> >
> > I'd like to cache datas that are bigger than 1M in size.
> > I tried to look at the slabs.c code but couldn't figure how to do
> > that. The FAQ talks about USE_SYSTEM_MALLOC but I'm not sure it's
> > related.
> >
> > Any help would be great.
> >
> > Thanks,
> > - Benjamin
>

Reply via email to