Use available memory instead of physical memory as metric for allocation-heavy tests