java client runs out of memory when the socket receive buffer is large
----------------------------------------------------------------------

                 Key: QPID-1129
                 URL: https://issues.apache.org/jira/browse/QPID-1129
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M3
            Reporter: Rafael H. Schloming
            Assignee: Rafael H. Schloming


MINA by default allocates a byte buffer for each network read that is the size 
of the socket receive buffer. Sometimes this is large, e.g. 4MB. If this is the 
case, then the client usually runs out of memory because each message in the 
prefetch queue has a (mostly empty) 4MB byte[] underneath it somewhere.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to