Maximum size of the object stored in memcache - PHP Views : 665
Tagged in : PHP
Send mail vote down 0 vote down 0
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
By - Rekha, On - 2010-04-24




    Login to add Comments .