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