87c118c Ticket 49392 - memavailable not available

Authored and Committed by William Brown 3 years ago
    Ticket 49392 - memavailable not available
    Bug Description:  On certain linux platforms memAvailable is
    not actually available! This means that the value was 0, so
    cgroup max was read instead, setting the system ram to:
    That's a bit excessive, and can cause memory allocations to fail.
    Fix Description:  If memavail can't be found, fall back to
    memtotal instead.
    Author: wibrown
    Review by: mreynolds (Thanks!)