On Nov 10, 4:21 pm, Abhilash <[email protected]> wrote: > I meant to run it with 5MB, so I have corrected it by changing it from > 5120 to 5242880.
Ah, then use -I 5mb > Even after running memcached with 5MB, I still get the error message - > Caused by: java.lang.IllegalArgumentException: Cannot cache data > larger than 1048576 bytes (1MB) (you tried to cache a 1828343 (1.74 > MB) byte object) The transcoder will prevent you from creating an object that's too big. You can just instantiate your own instance of SerializingTranscoder with a larger size and have the connection factory return yours.
