瀏覽代碼

Fix for 6GB RAM issue on Windows #720

Mark Shust 2 年之前
父節點
當前提交
bcd88dcbdd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compose/bin/start

+ 1 - 1
compose/bin/start

@@ -3,7 +3,7 @@ set -o errexit
 
 MEM=$(docker info | grep "Total Memory" | cut -d':' -f2 | xargs | sed s/GiB//)
 # Docker reports RAM 0.2 less than what it is actually set to
-(( $(echo "$MEM < 5.8" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
+(( $(echo "$MEM < 5.7" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
 
 # Ref: https://stackoverflow.com/a/51789677/9821321
 function parseYaml {