def get_total_phymem():
    try:
        return psutil.virtual_memory().total
    except AttributeError:  # psutil < 2.0
        return psutil.phymem_usage().total
Return the total amount of physical memory available.
dataset/ETHPy150Open scrapinghub/splash/splash/utils.py/get_total_phymem