JVM 崩溃 Failed to write core dump解决办法 WINDOWS
MIT
key words: JVM,崩溃,windows,Failed,core dump,虚拟内存
最近从平台中分出了一个小项目,没有配置单独的服务器,而是需要部署到公司网站服务器(windows server)上去。
一共部署一个网站,一个设备通信服务jar
阿里云ECS 4G 内存,系统:windows server 2008 SP1 64位 未激活
一开始查看了下java环境变量,设置得非常乱,上面装了两个java,一个64位一个32位,但是path指向的都是32位的java。
通信服务jar能够顺利启动,不过隔三差五就挂掉,报JVM异常
tomcat 一开始启动就不顺利,重新设定了JAVA_HOME才启动,后来也没过几天又挂掉了,后来再也启动不了了。。。。。
当时直接在bin目录生成的日志hs_err_pid1234.log内容是:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
# Possible reasons:
# The sy