Home Help Center

OutMemoryException from the Ice 3.4.1 for java

I use a work thread by 'amd' in server-side, the error as following. How can I do for this?!

-- 11-5-8 21:15:49:550 Server: Network: received 14 of 14 bytes via tcp
local address = 127.0.0.1:10002
remote address = 127.0.0.1:50758
-- 11-5-8 21:15:49:565 Server: Network: received 71 of 71 bytes via tcp
local address = 127.0.0.1:10002
remote address = 127.0.0.1:50758
-- 11-5-8 21:15:49:565 Server: Protocol: received request
message type = 0 (request)
compression status = 0 (not compressed; do not compress response, if any)
message size = 85
request id = 5
identity = Search
facet =
operation = singalSearch
mode = 0 (normal)
context =
-! 11-5-8 21:15:49:565 Server: warning: Thread-12: dispatch exception:
identity: Search
facet:
operation: singalSearch
Ice.MarshalException
reason = "OutOfMemoryError occurred while allocating a ByteBuffer"
at IceInternal.Buffer.reserve(Buffer.java:164)
at IceInternal.Buffer.(Buffer.java:73)
at IceInternal.Buffer.expand(Buffer.java:60)
at IceInternal.BasicStream.expand(BasicStream.java:2067)
at IceInternal.BasicStream.writeBlob(BasicStream.java:615)
at Engine.METAHelper.write(METAHelper.java:34)
at Engine.ResultNode.__write(ResultNode.java:119)
at Engine._AMD_SearchTile_singalSearch.ice_response(_AMD_SearchTile_singalSearch.java:39)
at WorkThread.run(WorkThread.java:29)
Caused by: java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Unknown Source)
at java.nio.DirectByteBuffer.<init>(Unknown Source)
at java.nio.ByteBuffer.allocateDirect(Unknown Source)
at IceInternal.Buffer.reserve(Buffer.java:138)
... 8 more

Comments

Sign In or Register to comment.