Though some clients do provide compression, the server itself only stores
1MB.

On Thu, May 7, 2009 at 3:24 PM, Joseph Engo <[email protected]> wrote:

>
> I believe the max key size is 250 bytes and the value max is 1MB.
>
>
> On May 7, 2009, at 12:22 PM, iberkner wrote:
>
>
>> Hi All,
>>
>> Today we ran into an interesting issue.
>>
>> Running PHP 5.2.9 with memcache session as handler.
>>
>> We wrote a session variable and tried to access it in another page
>> (same session) but it wouldn't work, it actually returned the previous
>> session value stored in that variable.
>>
>> Some investigation later... revealed that the session variable was
>> over 1MB (approx. 1.2mb).  Our memcache server currently is set up to
>> use 1GB of RAM.  After we shrank the variable to under 1MB it worked
>> fine.
>>
>> Does memcache have a "key" / "value" size limit?  Is that something
>> that can be set?
>>
>> Thanks
>>
>
>


-- 
"If you see a whole thing - it seems that it's always beautiful. Planets,
lives... But up close a world's all dirt and rocks. And day to day, life's a
hard job, you get tired, you lose the pattern."
Ursula K. Le Guin

http://www.finsel.com/words,-words,-words.aspx (My blog) -
http://www.finsel.com/photo-gallery.aspx (My Photogallery)  -
http://www.reluctantdba.com/dbas-and-programmers/blog.aspx (My Professional
Blog)

Reply via email to