Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1486

Out of memory errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.18.Final
    • 2.0.14.Final, 2.0.15.Final, 2.0.16.Final, 2.0.17.Final
    • Core
    • None
    • Hide

      Set a limit of 1GB heap space and wait for it to get filled

      Show
      Set a limit of 1GB heap space and wait for it to get filled

    Description

      We're seeing undertow slowly continuing a memory consumption until we run out of heap space and start getting outofmemory errors. On analysis of the heapdump, the main suspect appears to be:

      One instance of "io.undertow.server.protocol.http.HttpOpenListener" loaded by "sun.misc.Launcher$AppClassLoader @ 0xc0041e40" occupies 967,912,832 (95.19%) bytes. The memory is accumulated in one instance of "java.util.concurrent.ConcurrentHashMap$Node[]" loaded by "<system class loader>".

      This happened immediately when moving from 1.4.22.Final to 2.0.16.Final. I suspect its being triggered by a poorly designed health check.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              mlbiamts Marc Boorshtein (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: