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

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


Gustavo Fernandes created ISPN-8467:
---------------------------------------

             Summary: 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


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 a {{RestSourceMigrator}} which gets accumulated over time in the {{RestSourceMigrator}}.

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