[infinispan-issues] [JBoss JIRA] (ISPN-7922) OffHeap stream causes too many entries in memory at once

William Burns (JIRA) issues at jboss.org
Tue Jun 13 21:44:00 EDT 2017


    [ https://issues.jboss.org/browse/ISPN-7922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420828#comment-13420828 ] 

William Burns commented on ISPN-7922:
-------------------------------------

Looking closer there are some other major bugs with flatMap https://stackoverflow.com/questions/29229373/why-filter-after-flatmap-is-not-completely-lazy-in-java-streams

> OffHeap stream causes too many entries in memory at once
> --------------------------------------------------------
>
>                 Key: ISPN-7922
>                 URL: https://issues.jboss.org/browse/ISPN-7922
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 9.0.1.Final
>            Reporter: William Burns
>            Assignee: William Burns
>
> Using flatMap for some reason causes the stream operation to keep entries in memory for all entries that map to a given lock. We should have these processed by address counter instead.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list