由于堆的大小,java tomcat 6无法启动
当我跑的时候
sh catalina.sh run
它给出了错误:
Invalid maximum heap size: -Xmx6144M The specified size exceeds the maximum representable size. Could not create the Java virtual machine.
救命
你可以在下面搜索框中键入要查询的问题!
当我跑的时候
sh catalina.sh run
它给出了错误:
Invalid maximum heap size: -Xmx6144M The specified size exceeds the maximum representable size. Could not create the Java virtual machine.
救命
# 1 楼答案
您运行的是32位JVM,超过4096M
或者。。据推测,JVM可以决定你永远不需要那么大的堆,但我从来没有遇到过