1

Possible Duplicate:
Cache over 1mb memcache alternatives

increase item max size in memcached?
Caching a 302MB object

Can anyone tell me how i get around the one mb limit on memcache in php

Getting the below error at the moment:

am getting this with a single image data MemcachePool::set(): Server 127.0.0.1 (tcp 11211, udp 0) failed with: SERVER_ERROR object too large for cache

I am using php and any help would be greatly appreciated

Community
  • 1
  • 1
Matthew Chambers
  • 869
  • 3
  • 20
  • 34

1 Answers1

1

Running command line? You can use the -I parameter. Check the wiki, it gives you loads of options and info: http://code.google.com/p/memcached/wiki/NewConfiguringServer

You can change the size, but its not recommended, it makes the memory allocation less efficient.

Celada
  • 21,627
  • 4
  • 64
  • 78
kvdv
  • 116
  • 7