VxRack: FOSGWTool.sh fails with error 'Cannot allocate memory'

Summary: VxRack: FOSGWTool.sh fails with error='Cannot allocate memory'.

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

Running FOSGWTool.sh with any option fails with error='Cannot allocate memory'.
 
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

Not enough free memory to be allocated for the VM.

Resolution

  • Ensure correct Java version installed as per the VxRack Upgrade guide
cd /usr/java/latest/bin
java -version

  • Check VxFlex GW VM assigned memory size. The VxRackFlex Upgrade guide states that GW must have at least 4 GiB memory assigned
cat /proc/meminfo

Affected Products

PowerFlex rack, PowerFlex rack connectivity, PowerFlex rack HW, PowerFlex rack RCM Software
Article 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.