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

possible memory leak in deploy operation in domain

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.DR19
    • 7.1.0.DR8, 7.1.0.DR9, 7.1.0.DR10, 7.1.0.DR11
    • Management
    • Regression

      Something weird happens during application deployment in domain. EAP occupies too much memory after deploy operation in domain.

      I run all instances locally (but I see the same in multinode tests) and I wasn't able to identify which process causes this. Neither jstat, visualvm nor other tools helped me, but I could overlook something.

      Scenario is simple:

      1. start master - host-master.xml
        master$ ./jboss-eap-7.1/bin/domain.sh --host-config=host-master.xml
      2. start slave - host-slave.xml
        slave$ ./jboss-eap-7.1/bin/domain.sh --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1 -Djboss.management.native.port=19999
      3. measure occupied memory – all system, not only java (htop)
      4. start cli
        master$ ./jboss-eap-7.1/bin/jboss-cli.sh -c
      5. measure occupied memory – all system, not only java (htop)
      6. deploy attached simple-servlet.war – modify it, include some big file, I used ~120MB mp4 file
        deploy /tmp/simple-servlet.war --all-server-groups
      7. measure occupied memory – all system, not only java (htop)
      8. restart domain
      9. measure occupied memory – all system, not only java (htop)

      Results are:

        domain only domain + cli after deploy restart
      DR11 4797 MB 4900 MB 8445 MB 4810 MB
      DR7 4771 MB 4828 MB 4942 MB 4790 MB

      it seems that it started to happen with DR8

              kwills@redhat.com Ken Wills
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: