add Hugemem option to memory management