[infinispan-issues] [JBoss JIRA] (ISPN-8467) Memory Leak in the Rest server

Gustavo Fernandes (JIRA) issues at jboss.org
Thu Nov 2 12:11:00 EDT 2017


     [ https://issues.jboss.org/browse/ISPN-8467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-8467:
------------------------------------
              Status: Pull Request Sent  (was: Coding In Progress)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/5561


> Memory Leak in the Rest server
> ------------------------------
>
>                 Key: ISPN-8467
>                 URL: https://issues.jboss.org/browse/ISPN-8467
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 9.2.0.Alpha2
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>
> The Netty rest server upon each connection will install the {{Http20RequestHandler}} that in turn creates a new instance of {{CacheOperations}} and {{RestCacheManager}} objects.
> The {{RestCacheManager}} on every connection, among other things, will create hashmaps to keep cache instances, and will try to register every time a new {{RestSourceMigrator}} which gets accumulated in the {{RollingUpgradeManager}}.
> Those objects should be shared across all channels so that they can efficiently cache resources and avoid creating lots of garbage.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list