JBOSS EAP 7.1 + Spring boot hello world & visualVm observation
Faisal
Posted on January 1, 2019
Introduction
In my previous post, we already knew how much jboss-eap-7.1 will eat up your memory by default ( no deployment ). Now time to see how simple deployment spring boot hello world will eat up our memory inside JBOSS.
tools involved
- jboss eap 7.1 ( duh )
- visualVm
how we did it
- create a simple hello world spring mvc
- deploy it into already running jboss eap
- monitor the visual vm for increase of memory usage
output
class loaded after deployment:
some theory on what just happened?
- hey this war have bunch of library & class need to be load
- object creation causing increase in heap size
things to ponder
- what if we deploy another war inside same jboss instance?
- what if this new war shared same library with the previous war?
💖 💪 🙅 🚩
Faisal
Posted on January 1, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.