ITC Infotech Interview Question

how to resolve out of memory error