When you forget a spell, give the player a message “You have forgotten the ‘foo’ spell.” Also give warnings when you reach 10% and 1% memory.