Using your memory wisely