I have an application in Java production, with CDI, JSF with primefaces and hibernate running on a wildfly 10.1.
This application is hosted on jelastic's localweb. But it is consuming a lot of memory.
I know that using a lighter container like tomcat 8 would be ideal in this case. And we are already studying the possibility.
But in order to reduce costs more quickly, is there a way to make the wildfly lighter for this scenario?