ShardingSphere-Proxy启动时报Not enough space

错误分析

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值