×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

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.