[JBoss JIRA] (ISPN-8467) Memory Leak in the Rest server
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8467?page=com.atlassian.jira.plugin.... ]
Work on ISPN-8467 started by Gustavo Fernandes.
-----------------------------------------------
> 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)
6 years, 7 months