Skip to content

Commit a674be3

Browse files
committed
Add comment
1 parent c126b5e commit a674be3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/create_sys_image

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ fi
9191
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
9292
# Windows: use wmic or PowerShell
9393
export JULIA_IMAGE_THREADS=4
94+
echo "Checking system memory on Windows..."
9495
totalmem=$(powershell.exe -Command "(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1MB" 2>/dev/null | awk '{printf "%i", $1}')
9596
if [[ -z "$totalmem" || $totalmem -lt 27000 ]]; then
9697
echo "Warning: Less than 27GB of memory detected on Windows. Using only one thread for sysimage compilation."

0 commit comments

Comments
 (0)