Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4617

Huge garbage created at regular intervals in Wildfly 8.2.0.Final

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.2.0.Final
    • None
    • Hide

      60 user Jmeter test hitting application running in wildfly We use struts 1.1 and tiles. We suspect issue with undertow.

      Show
      60 user Jmeter test hitting application running in wildfly We use struts 1.1 and tiles. We suspect issue with undertow.
    • User Experience

      Huge garbage is created in wildfly every couple of minutes. Though Full GC is able to reclaim memory, this causes frequent full gcs, as heap is getting occupied due to the increase in number of objects created . We can reproduce this issue in 60 users Jmeter loadtest. This was not the case in Jboss 7.1.1Final.

      After analyzing heapdumps, Huge char arrays are created and they are not garbage collected by Minor GC. Incoming reference for the char array suggest that they have valid reference to io.undertow.servlet.spec.HttpServletRequestImpl. However full gc is able to recover the memory. Not sure why attributes in io.undertow.servlet.spec.HttpServletRequestImpl are not getting gced by minor gc's.

      "org.apache.struts.tiles.ComponentContext" is kept in attributes Map by io.undertow.servlet.spec.HttpServletRequestImpl. org.apache.struts.tiles.ComponentContext contains a big char array.
      We suspect issue with undertow.

        1. Overall Memory Usages
          177 kB
        2. Overall Heap
          95 kB
        3. newheap1_Leak_Suspects.zip
          129 kB
        4. merge paths - ArtifactDetailList
          152 kB
        5. Heap Histogram View
          140 kB
        6. Char Array Retained Objects
          173 kB
        7. Char Array Incoming reference
          154 kB

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              srivathsan_jira Srivathsan Agaram Venkatavaradhan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: