Renchunbing / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
1 stars 0 forks source link

"SERVER_ERROR out of memory storing object" cause session disconnected #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Sometime memcached returned "SERVER_ERROR out of memory storing object" error 
message when you want to store item, then the following get command would be 
decoded failed and xmemcached closed the  connection.It should not close the 
connection in this situation.Output the stack trace below

[2011-06-11 18:08:16.352]net.rubyeye.
xmemcached.exception.MemcachedDecodeException: Decode error,session will be 
closed,line=RROR ou
t of memory storing object
[2011-06-11 18:08:16.352]       at 
net.rubyeye.xmemcached.command.Command.decodeError(Command.java:264)
[2011-06-11 18:08:16.352]       at 
net.rubyeye.xmemcached.command.Command.decodeError(Command.java:274)
[2011-06-11 18:08:16.352]       at 
net.rubyeye.xmemcached.command.text.TextGetCommand.decode(TextGetCommand.java:12
3)
[2011-06-11 18:08:16.352]       at 
net.rubyeye.xmemcached.codec.MemcachedDecoder.decode0(MemcachedDecoder.java:59)
[2011-06-11 18:08:16.352]       at 
net.rubyeye.xmemcached.codec.MemcachedDecoder.decode(MemcachedDecoder.java:54)
[2011-06-11 18:08:16.352]       at 
com.google.code.yanf4j.nio.impl.NioTCPSession.decode(NioTCPSession.java:297)
[2011-06-11 18:08:16.352]       at 
com.google.code.yanf4j.nio.impl.NioTCPSession.readFromBuffer(NioTCPSession.java:
213)
[2011-06-11 18:08:16.352]       at 
com.google.code.yanf4j.nio.impl.AbstractNioSession.onRead(AbstractNioSession.jav
a:223)
[2011-06-11 18:08:16.352]       at 
com.google.code.yanf4j.nio.impl.AbstractNioSession.onEvent(AbstractNioSession.ja
va:443)
[2011-06-11 18:08:16.352]       at 
com.google.code.yanf4j.nio.impl.SocketChannelController.dispatchReadEvent(Socket
ChannelController
.java:66)
[2011-06-11 18:08:16.352]       at 
com.google.code.yanf4j.nio.impl.NioController$ReadTask.run(NioController.java:11
0)
[2011-06-11 18:08:16.352]       at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
86)
[2011-06-11 18:08:16.352]       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[2011-06-11 18:08:16.352]       at java.lang.Thread.run(Thread.java:619)

Original issue reported on code.google.com by killme2...@gmail.com on 11 Jun 2011 at 3:02

GoogleCodeExporter commented 9 years ago
Fixed by xmemached 1.3.3

Original comment by killme2...@gmail.com on 12 Jun 2011 at 4:11