ENH: add minimun memory requirement