VxRack:FOSGWTool.sh 失败,并显示错误“无法分配内存”
Summary: VxRack:FOSGWTool.sh 失败,错误=“无法分配内存”。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
使用任何选项运行 FOSGWTool.sh 失败,错误=“无法分配内存”。
ScaleIO-XX-XX-XX-XX-GW:/opt/emc/scaleio/gateway/bin # ./FOSGWTool.sh --check_esrs_connectivity --scaleio_gateway_ip localhost --scaleio_gateway_user admin --scaleio_gateway_password XXXXXX Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000f2100000, 25165824, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 25165824 bytes for committing reserved memory. # An error report file with more information is saved as: # /opt/emc/scaleio/gateway/bin/hs_err_pid11503.log
Cause
没有足够的可用内存可以分配给虚拟机。
Resolution
- 确保根据 VxRack 升级指南安装正确的 Java 版本
cd /usr/java/latest/bin java -version
- 检查 VxFlex GW 虚拟机分配的内存大小。VxRackFlex 升级指南指出,GW 必须至少分配 4 GiB 内存
cat /proc/meminfo
Affected Products
PowerFlex rack, PowerFlex rack connectivity, PowerFlex rack HW, PowerFlex rack RCM SoftwareArticle Properties
Article Number: 000168388
Article Type: Solution
Last Modified: 24 Nov 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.