-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR8, 7.1.0.DR9, 7.1.0.DR10, 7.1.0.DR11
-
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:
- start master - host-master.xml
master$ ./jboss-eap-7.1/bin/domain.sh --host-config=host-master.xml - 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 - measure occupied memory – all system, not only java (htop)
- start cli
master$ ./jboss-eap-7.1/bin/jboss-cli.sh -c - measure occupied memory – all system, not only java (htop)
- deploy attached simple-servlet.war – modify it, include some big file, I used ~120MB mp4 file
deploy /tmp/simple-servlet.war --all-server-groups - measure occupied memory – all system, not only java (htop)
- restart domain
- 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