ref #5. setting memory limit infinity