Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14010

XMPP connections leak memory

    XMLWordPrintable

Details

    Description

      Over the last couple of weeks, we had to restart JBAC a couple of times because it was running out of heap memory and stuck doing full GCs. The last outage showed that the XMPP connections were sitting on around 1GB on memory. Despite the BambooSmackClient just used one connection, the other 531 were still referenced by the other 531 InBandBytestreamManager instances and thus couldn't be cleaned up by the garbage collector (see the size of 532 of the manager map).

      I've also attached the memory usage statistics of CBAC which doesn't use the IM server integration (/admin/instantmessagingserver/viewInstantMessagingServer.action). It uses much less memory.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmeinhold Martin Meinhold
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: