You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org> on 2008/06/10 20:27:45 UTC
[jira] Created: (QPID-1129) java client runs out of memory when the
socket receive buffer is large
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.
[jira] Resolved: (QPID-1129) java client runs out of memory when
the socket receive buffer is large
Posted by "Rafael H. Schloming (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rafael H. Schloming resolved QPID-1129.
---------------------------------------
Resolution: Fixed
> 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.