错误分析
SharidngSphere-Proxy启动时对服务器内存的大小有一定的要求,大概需要1GB的内存空间供JVM运行。
如果内容空间过小,会报以下错误:
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c56a0000, 982908928, 0) failed; error='Not enough space' (errno=12)
[root@wuqiong conf]# docker run --name tmp -p 3311:3307 apache/shardingsphere-proxy:5.5.1
we find java version: java21, full_version=21.0.4, full_path=/opt/java/openjdk/bin/java
unadapted java version, please notice...
The classpath is /opt/shardingsphere-proxy/conf:/opt/shardingsphere-proxy/conf:.:/opt/shardingsphere-proxy/lib/*:/opt/shardingsphere-proxy/ext-lib/*
main class org.apache.shardingsphere.proxy.Bootstrap -1 /opt/shardingsphere-proxy/conf 0.0.0.0 false
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c56a0000, 982908928, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Envi
SharidngSphere-Proxy启动内存问题分析

最低0.47元/天 解锁文章
590

被折叠的 条评论
为什么被折叠?



