Improving JBoss 5 slow startup

后端 未结 10 1531
情话喂你
情话喂你 2021-02-01 19:49

We upgraded from JBoss 4 (and JDK 5) to JBoss 5 (and JDK 6). The problem is that the start time has gone from 1.5 minutes (on JBoss 4) to more than 4 minutes.

1         


        
10条回答
  •  遥遥无期
    2021-02-01 20:17

    I had an issue like this but I found a good improvement by setting the initial and max heap size to same values, I mean:

     -Xms512m -Xmx512m
    

    With this, I improved from 4 to 2 minutes the starting time.

提交回复
热议问题