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

Out of memory errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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

      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.

        1. HTTP Request.jmx
          5 kB
          Marc Boorshtein

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

                Created:
                Updated:
                Resolved: