We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c126b5e commit a674be3Copy full SHA for a674be3
bin/create_sys_image
@@ -91,6 +91,7 @@ fi
91
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
92
# Windows: use wmic or PowerShell
93
export JULIA_IMAGE_THREADS=4
94
+ echo "Checking system memory on Windows..."
95
totalmem=$(powershell.exe -Command "(Get-CimInstance Win32_ComputerSystem).TotalPhysicalMemory / 1MB" 2>/dev/null | awk '{printf "%i", $1}')
96
if [[ -z "$totalmem" || $totalmem -lt 27000 ]]; then
97
echo "Warning: Less than 27GB of memory detected on Windows. Using only one thread for sysimage compilation."
0 commit comments