Customize memory : How to configure cache memory for memcached server
Memcached by default has a cache size of 64MB. If you need more memory, run the memcached server using the -m option and pass the required memory as an argument, as in the command 'memcached -m 512' which will allocate 512MB of memory.