JVM OutOfMemory error “death spiral” (not memory leak)

后端 未结 6 1061
逝去的感伤
逝去的感伤 2020-12-30 03:10

We have recently been migrating a number of applications from running under RedHat linux JDK1.6.0_03 to Solaris 10u8 JDK1.6.0_16 (much higher spec machines) and we have not

6条回答
  •  庸人自扰
    2020-12-30 03:40

    I have had the same issue on Solaris machines, and I solved it by decreasing the maximum size of the JVM. The 32 bit Solaris implementation apparently needs some overhead room beyond what you allocate for the JVM when doing garbage collections. So, for example, with -Xmx3580M I'd get the errors you describe, but with -Xmx3072M it would be fine.

提交回复
热议问题