Maximum size of the object stored in memcache

by Rekha 2010-04-24 11:54:38

Maximum size of the object stored in memcache

The default maximum object size is 1MB. If you want to increase this size, you have to re-compile memcached. You can modify the value of the POWER_BLOCK within the slabs.c file within the source.

In memcached 1.4.2 and higher you can configure the maximum supported object size by using the -I command-line option. For example, to increase the maximum object size to 5MB:

$ memcached -I 5m

Tagged in:

1840
like
0
dislike
0
mail
flag

You must LOGIN to add comments