-
1. Re: WIldfly 10 vs JBoss 7 slower startup + bigger memory consumption
mayerw01 Mar 14, 2017 12:53 PM (in response to mireksz)Maybe this answers some of your questions Higher memory consumption in Java 8 than Java 7 - Stack Overflow
So one of the reasons can be that Java requires more memory because it moved to Metaspace model.
-
2. Re: WIldfly 10 vs JBoss 7 slower startup + bigger memory consumption
mireksz Mar 14, 2017 1:43 PM (in response to mayerw01)But as you can see in screenshots in JBoss 7 there are 529 Modules instances which has size 30MB but in Wildfly there are 577 Modules which has size 390MB
-
3. Re: WIldfly 10 vs JBoss 7 slower startup + bigger memory consumption
mayerw01 Mar 17, 2017 6:30 AM (in response to mireksz)I am not sure understanding your issue. Higher versions usually mean (fortunately) more functionality and (unfortunately) higher requirements to your environment (disk space, memory, cpu aso). But nowadays this should not be a big cost factor anymore.
-
4. Re: WIldfly 10 vs JBoss 7 slower startup + bigger memory consumption
jaikiran Mar 18, 2017 1:24 AM (in response to mireksz)Out of curiosity - are you comparing the same module in those screenshots (where you show the allPaths member)? If so, is that module shipped out of the box by the server and what's the name of that module? Furthermore, do you see the same pattern for all other modules that are shipped or just a few of these?
-
5. Re: WIldfly 10 vs JBoss 7 slower startup + bigger memory consumption
mireksz Mar 18, 2017 3:41 AM (in response to jaikiran)1. I comparing the same module (by identifier) .
2. This are my modules app.ear#customer.jar. In ear I have about 500 modules like this. subldeployment-isolation=false
2. Each my module (in ear) has allPaths with size over 13.000 which is strange... these paths contains packages I think.
This is the same app from JBoss 7 from which I had to remove old log4j, java-ee.api, some webservice spec...those libs conflicts with WIldfly libs...and thats all. No any changes. Of course I understand that new stack can require more resources but this looks like bug. + 300 MB is not a problem but + 50s startup time in dev mode is a nightmare
-
6. Re: WIldfly 10 vs JBoss 7 slower startup + bigger memory consumption
mayerw01 Mar 18, 2017 7:20 AM (in response to mireksz)I've now tried to reproduce your issue. I've used jboss-as-7.1.1.Final with jdk1.7.0_80 and wildfly-10.1.0.Final with jdk1.8.0_121. I deployed just one application (Oracle Application Listener
ords.3.0.9.348.07.16 with the same i.war and ords.war).
But the figures did not deviate dramatically. I'd therefore assume that this relates to your application. Maybe you embedded some modules in your ear which are not needed anymore in WildFly