Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8467

Memory Leak in the Rest server

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.0.Final
    • 9.2.0.Final
    • Server
    • None

      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.

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              gfernand@redhat.com Gustavo Fernandes (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: