×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

Need help in JBoss 4.0.4: It is slow down in every 20 days

Hi, friends,

I have production env with JBoss 4.0.4 and was add ehcache in last release. BUt it was slow down and then shutdown due to the java heap out of memory in every 20 days after that and need reboot the jboss. So far, I have not found the root cause, just got some symptons: java heap usage is overflow, e.g. over 512 max to 6xx sometime, seems run out memory. But it is ok in the 19 days when I monitor the memory usage, usually have about 120 - 150M free memory left. Do you have any idea or experience on my case?

The specs:
JBoss 4.04
Java 1.5.0.07
server physical mem: 1G


Thanks
Report

Replies, comments and Discussions:

  • 工作学习 / 学科技术讨论 / Need help in JBoss 4.0.4: It is slow down in every 20 days
    Hi, friends,

    I have production env with JBoss 4.0.4 and was add ehcache in last release. BUt it was slow down and then shutdown due to the java heap out of memory in every 20 days after that and need reboot the jboss. So far, I have not found the root cause, just got some symptons: java heap usage is overflow, e.g. over 512 max to 6xx sometime, seems run out memory. But it is ok in the 19 days when I monitor the memory usage, usually have about 120 - 150M free memory left. Do you have any idea or experience on my case?

    The specs:
    JBoss 4.04
    Java 1.5.0.07
    server physical mem: 1G


    Thanks
    • Sounds like a very old legacy app. If you don't want to spend time and resource on this, here is the easiest solution
      Schedule a job to reboot the app or the server every 2 weeks.

      If you are interested in analyzing memory leak, you might want to review your VM parameters, log garbage collections, and turn on the flag to heap dump when out of memory. If you post the error message and full stack trace, I can take a look.
    • add more memory
      6G memory in our Jboss servers. 1G memory is too little for Java application.