Running on t3.micro getting Warning "Requires 1GB of RAM"

It has less than 1gb a computed by the script. You can edit discourse-setup or get a bigger vm. Also, there is a switch that will skip doing those tests. You can look at the script to see what it is. (EDIT: That switch will skip just the connection test, not the memory test.

Here’s the memory test:

check_linux_memory() {
  ## some VMs report just under 1GB of RAM, so
  ## make an exception and allow those with more
  ## than 989MB
  mem=`free -m --si | awk ' /Mem:/ {print $2}'`
  if [ "$mem" -ge 990 -a "$mem" -lt 1000 ]; then
    echo 1
  else
    echo `free -g --si | awk ' /Mem:/  {print $2} '`
  fi
}

4 Likes