Technologent interview question

How would you go about solving this memory error?