Hi Abhilash,

The Java client performs a size check on requests prior to making the
Memcache connection to stop excessive network usage if you accidentally try
to store more. You must configure the client to accept larger objects. You
may be able to do this in a config file, or it may require recompiling the
client. I'm sure someone has that information.

 - Alex
--
Alex Miller
skype | alexmiller.canada
email | [email protected]



On Wed, Nov 10, 2010 at 4:55 PM, Abhilash <[email protected]> wrote:

> Thanks Trond, I changed the way I start memcached, as you suggested.
>
> Can someone please respond to my last point?
>
> >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)
>
> Why is still erroring if the size is more than 1 MB?
>
> Thanks
> Abhilash
>

Reply via email to