kaip išspręsti atminties problemą