new input, catch out of memory error