def METHOD_NAME(est=15, is_mrc=False):
    # Sort handles according to info.free
    handles.sort(key=lambda x: nvmlDeviceGetMemoryInfo(x).free, reverse=True)
    for i, h in enumerate(handles):
        device_id = handle_mapping[str(h)]
        if device_id in mrc_device.values():
            continue
        info = nvmlDeviceGetMemoryInfo(h)
        gb = 1024 * 1024 * 1024
        print(f"- device_id: {device_id}")
        print(f"- free     : {info.free/gb}")
        if info.free / gb >= est:
            return device_id
    return None