def _calculate_common_memory(kvs):
    mems = []
    for key, val in kvs:
        cur_val, _ = _get_cur_mem(key, val)
        mems.append(cur_val)
    return numpy.median(mems)
Get the median memory specification, in megabytes.
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/docker/devel.py/_calculate_common_memory