[infinispan-issues] [JBoss JIRA] (ISPN-7802) Use non-growing buffered input stream in TcpTransport
Tristan Tarrant (JIRA)
issues at jboss.org
Fri May 5 06:13:00 EDT 2017
[ https://issues.jboss.org/browse/ISPN-7802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402502#comment-13402502 ]
Tristan Tarrant commented on ISPN-7802:
---------------------------------------
This might not be necessary if mark isn't use (and it doesn't look like it).
> Use non-growing buffered input stream in TcpTransport
> -----------------------------------------------------
>
> Key: ISPN-7802
> URL: https://issues.jboss.org/browse/ISPN-7802
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Protocols
> Affects Versions: 9.0.0.Final
> Reporter: Radim Vansa
> Assignee: Tristan Tarrant
>
> The buffering implementation of {{TcpTransport.socketInputStream}} needs to use fixed size input buffer, rather than growing as {{BufferedInputStream}} does. Growing buffer can lead to excessive memory consumption on heap, and more importantly, by direct memory allocated in JDK classes and pooled in thread-local caches.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list