网站-运行环境中,创建Java运行环境,启动后报错:
_opt_1panel_runtime_java_test_docker-compose.yml-20241205134135.log (7.1 KB)
还有这种报错:e[2Kiotwebapi_slave | # There is insufficient memory for the Java Runtime Environment to continue. e[2Kiotwebapi_slave | # Cannot create GC thread. Out of system resources. e[2Kiotwebapi_slave | # Can not save log file, dump to screen.. e[2Kiotwebapi_slave | # e[2Kiotwebapi_slave | # There is insufficient memory for the Java Runtime Environment to continue. e[2Kiotwebapi_slave | # Cannot create GC thread. Out of system resources. e[2Kiotwebapi_slave | # Possible reasons: e[2Kiotwebapi_slave | # The system is out of physical RAM or swap space e[2Kiotwebapi_slave | # The process is running with CompressedOops enabled, and the Java Heap may be blocking the growth of the native heap e[2Kiotwebapi_slave | # Possible solutions: e[2Kiotwebapi_slave | # Reduce memory load on the system e[2Kiotwebapi_slave | # Increase physical memory or swap space e[2Kiotwebapi_slave | # Check if swap backing store is full e[2Kiotwebapi_slave | # Decrease Java heap size (-Xmx/-Xms) e[2Kiotwebapi_slave | # Decrease number of Java threads e[2Kiotwebapi_slave | # Decrease Java thread stack sizes (-Xss) e[2Kiotwebapi_slave | # Set larger code cache with -XX:ReservedCodeCacheSize= e[2Kiotwebapi_slave | # This output file may be truncated or incomplete. e[2Kiotwebapi_slave | # e[2Kiotwebapi_slave | # Out of Memory Error (gcTaskThread.cpp:48), pid=13, tid=0x00007fb3dcf4e040 e[2Kiotwebapi_slave | # e[2Kiotwebapi_slave | # JRE version: (8.0_432-b07) (build ) e[2Kiotwebapi_slave | # Java VM: OpenJDK 64-Bit Server VM (25.432-b07 mixed mode linux-amd64 compressed oops) e[2Kiotwebapi_slave | # Core dump written. Default location: /app/core or core.13
都是jdk的报错,尝试了8、11、17、21(有个测试项目用的是21版本开发),都有这个问题
服务器是一直在用的,最近服务器经常卡顿,想看下是哪个服务导致的,而且用这个部署也比较方便。
这是OOM了嘛
直接运行不起来,JVM内部错误,应该跟Java代码没有关系