Use the distribution file's "ram" element to simplify the RAM check