]
Gustavo Fernandes reassigned ISPN-8467:
---------------------------------------
Assignee: 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 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.