首页 > 编程语言 > 详细

There is insufficient memory for the Java Runtime Environment to continue问题解决

时间:2020-04-25 18:04:47      阅读:64      评论:0      收藏:0      [点我收藏+]

在linux系统下开启mycat,查看状态显示连接成功,但是NAVICAT工具进行连接mycat时就报如下错误:查看其错误日志文件:

# There is insufficient memory for the Java Runtime Environment to continue.
# Cannot create GC thread. Out of system resources.
# Possible reasons:
#   The system is out of physical RAM or swap space
#   In 32 bit mode, the process size limit was hit
# Possible solutions:
#   Reduce memory load on the system
#   Increase physical memory or swap space
#   Check if swap backing store is full
#   Use 64 bit Java on a 64 bit OS
#   Decrease Java heap size (-Xmx/-Xms)
#   Decrease number of Java threads
#   Decrease Java thread stack sizes (-Xss)
#   Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
#  Out of Memory Error (gcTaskThread.cpp:46), pid=17285, tid=47629249568816
#
# JRE version: 6.0_43-b01
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.14-b01 mixed mode linux-amd64 compressed oops)

 

显示内存不足,我明明物理内存10G,运行内存1G,咋个不足,后来都增加一倍,错误直接解决。

There is insufficient memory for the Java Runtime Environment to continue问题解决

原文:https://www.cnblogs.com/xiaofengshan/p/12774128.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!