Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-283

Memory leak in org.xnio.ByteBufferSlicePool

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.DR10
    • 7.0.0.DR3
    • Management, Remoting
    • None
    • Workaround Exists
    • Hide

      For a workaround, if this problem still occurs, set the following system property: -Djboss.remoting.pooled-buffers=false

      This will use regular GC to manage buffers at a slight performance cost.

      Show
      For a workaround, if this problem still occurs, set the following system property: -Djboss.remoting.pooled-buffers=false This will use regular GC to manage buffers at a slight performance cost.
    • Hide

      ModelControllerClient is used for client requests, OOM appears in a minute.

      JBOSS_HOME=`realpath jboss-eap-7.0`
      cd leak-test
      mvn test -Djboss.dist=$JBOSS_HOME -Dtest=ControllerClientTestCase
      

      JBoss-cli running in a modular classloading environment (jboss-cli.sh) is used for client requests, it took some time for OOM to appear.

      JBOSS_HOME=`realpath jboss-eap-7.0`
      cd leak-test
      mvn test -Djboss.dist=$JBOSS_HOME -Dtest=MultipleClientsTestCase
      

      For manual server lifecycle management just comment out @Before and @After annotations in org.jboss.qa.CLITestBase.java

      Show
      ModelControllerClient is used for client requests, OOM appears in a minute. JBOSS_HOME=`realpath jboss-eap-7.0` cd leak-test mvn test -Djboss.dist=$JBOSS_HOME -Dtest=ControllerClientTestCase JBoss-cli running in a modular classloading environment (jboss-cli.sh) is used for client requests, it took some time for OOM to appear. JBOSS_HOME=`realpath jboss-eap-7.0` cd leak-test mvn test -Djboss.dist=$JBOSS_HOME -Dtest=MultipleClientsTestCase For manual server lifecycle management just comment out @Before and @After annotations in org.jboss.qa.CLITestBase.java

      Repetitive management requests on EAP leads to OOM exception.

        1. jconsole.png
          jconsole.png
          74 kB
        2. leak-test.zip
          13 kB
        3. usage.png
          usage.png
          76 kB

              dlloyd@redhat.com David Lloyd
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: