mem: fix initialization with --no-huge option