如何在MAC 10.8上的MAMP中增加memcached使用的内存量


How to increase the amount of memory memcached uses in MAMP on MAC 10.8

如何在MAC 10.8上运行的MAMP中增加memcache的最大内存大小?默认设置为1MB

memcached.conf中有一行读取

# Start with a cap of 64 megs of memory. It's reasonable, and the daemon default
# Note that the daemon will grow to this size, but does not start out holding this much
# memory
-m 64

因此,您所需要做的就是将-m 64更改为您想要的任何值。