You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "RANADEEP SHARMA (JIRA)" <ji...@apache.org> on 2016/06/08 15:43:20 UTC

[jira] [Created] (CXF-6938) Unwanted bunch of Bus Provider objects in HashMap occupying large volumes of heap memory

RANADEEP SHARMA created CXF-6938:
------------------------------------

             Summary: Unwanted bunch of Bus Provider objects in HashMap occupying large volumes of heap memory
                 Key: CXF-6938
                 URL: https://issues.apache.org/jira/browse/CXF-6938
             Project: CXF
          Issue Type: Task
          Components: Bus, JAX-RS
    Affects Versions: 3.1.6, 3.1.0
         Environment: Redhat Enterprise Linux (Santiago), OpenJDK 7, Tomcat 7
            Reporter: RANADEEP SHARMA


We have an application with REST client components for making calls to Backend web services. During our routine performance test, JProfiler tool shows lots of Bus property entries (with keys named "bus.providers.set.<hashCode>") populated while creating instances of ClientProviderFactory.

These Bus property entries seem to stay in heap for the whole duration of the 6 hour run. In fact, around 100,000 entries occupying 13 MB of heap.

In short, GC doesn't seem to happening frequently enough to keep the heap usage within limits.

Is this some sort of a bug or, lack of necessary configuration in CXF?
Either ways, we need your guidance for trouble-shooting this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)