Open GoogleCodeExporter opened 8 years ago
The default item buffer is 1K, so when you wanna store 13961 bytes data, it is
of
course out of memory. Use -b option to specify suitable buffer size.
Following this formula:
item_buffer_size(-b) = key_size + data_size + 37(Max)
By the way, why not use memcached for session storage, there's no expiration in
memcachedb, so I guess the session storage will become larger and larger.
Original comment by stv...@gmail.com
on 5 Mar 2008 at 1:41
Thank you stvchu, it worked with the -b switch, but again, my session is
growing too
much :/
I'm trying memcachedb because of the 1 Mb limit in memcached. I need to store
session
data larger than 1 Mb. But maybe I should change my framework's (PRADO) way of
storing viewstate data, so it doesn't store everything in just a session
variable.
As for the expiration, I thought it was managed by PHP's session handler with
the gc
setting...
Thanks again.
Original comment by rodolfo....@gmail.com
on 5 Mar 2008 at 2:44
Original issue reported on code.google.com by
rodolfo....@gmail.com
on 4 Mar 2008 at 4:40