简体   繁体   English

Java 运行时环境的内存不足,无法继续

[英]insufficient memory for the Java Runtime Environment to continue

I am developing web application useing Java/J2EE.我正在使用 Java/J2EE 开发 Web 应用程序。 when i deployed that application in server it runs for two days after that tomcat automatically stops and print this error message and also if don't access that application for 1 day.Could any help me to solve this issue.当我在服务器中部署该应用程序时,它会在 tomcat 自动停止并打印此错误消息后运行两天,并且如果 1 天没有访问该应用程序。可以帮助我解决这个问题。

I have set heap size -Xms1024M -Xmx1536M -XX:MaxPermSize=1024M'我已经设置了堆大小 -Xms1024M -Xmx1536M -XX:MaxPermSize=1024M'

There is insufficient memory for the Java Runtime Environment to continue.没有足够的内存供 Java 运行时环境继续使用。 Native memory allocation (malloc) failed to allocate 32776 bytes for Chunk::new An error report file with more information is saved as: /usr/local/apache-tomcat-7.0.53/bin/hs_err_pid15512.log Native memory allocation (malloc) failed to allocation 32776 bytes for Chunk::new 包含更多信息的错误报告文件保存为:/usr/local/apache-tomcat-7.0.53/bin/hs_err_pid15512.log

It would be good to at least go to the directory where it's saving the error reports, in this case, /usr/local/apache-tomcat-7.0.53/bin/hs_err_pid15512.log.最好至少转到保存错误报告的目录,在本例中为 /usr/local/apache-tomcat-7.0.53/bin/hs_err_pid15512.log。 I would suggest reading what the report says because if it says something about running out of memory in 32 bit mode, try and get a 64 bit jvm to fix the problem.我建议阅读报告中的内容,因为如果它说的是 32 位模式下内存不足,请尝试使用 64 位 jvm 来解决问题。 If the first doesn't work, then go to your eclipse.ini file and edit you heap sizes to like 2gbs, which gives more memory to the jvm to run.如果第一个不起作用,那么转到您的 eclipse.ini 文件并将堆大小编辑为 2gbs,这为 jvm 提供更多内存来运行。 But it could only be temporary.但这只能是暂时的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 内存不足,无法运行Java Runtime环境 - Insufficient memory to run Java Runtime environment to continue 卓:内存不足,Java Runtime Environment无法继续 - AWS: There is insufficient memory for the Java Runtime Environment to continue 没有足够的内存让Java Runtime Environment继续运行 - There is insufficient memory for the Java Runtime Environment to continue Cloudera内存不足,无法继续Java Runtime Environment - Cloudera insufficient memory for the Java Runtime Environment to continue Java Runtime Environment 内存不足,无法继续hbase - There is insufficient memory for the Java Runtime Environment to continue hbase kafka 8 和内存 - Java 运行时环境的内存不足,无法继续 - kafka 8 and memory - There is insufficient memory for the Java Runtime Environment to continue YARN上的Spark流-没有足够的内存供Java运行时环境继续 - Spark Streaming on YARN - There is insufficient memory for the Java Runtime Environment to continue 运行Hadoop:内存不足,无法继续Java Runtime Environment - Running Hadoop: insufficient memory for the Java Runtime Environment to continue Tomcat崩溃:Java Runtime Environment没有足够的内存来继续 - Tomcat crash: There is insufficient memory for the Java Runtime Environment to continue 容器启动失败:memory Java Runtime Environment 无法继续运行 - Container Fails to Start: Insufficient memory for the Java Runtime Environment to continue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM