Java HotSpot(TM) 64-Bit Server VM warning

后端 未结 2 535
春和景丽
春和景丽 2021-02-01 01:54

I have a tomcat as my web-server, it stopped down automatically with the given Error -

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007         


        
2条回答
  •  Happy的楠姐
    2021-02-01 02:43

    Java was not able to allocate enough memory, i.e. it's not Java's heap limit that's in the way but rather no more memory available to be given to Java by OS. Check that the machine is not running out of memory. And first clean ram or increase ram then check if again there is an out of memory error then increase heap size:

    -Xms128m min(heap size)

    -Xmx512m max(heap size)

    -XX:MaxPermSize max(perm size)

提交回复
热议问题