Store histpry in memory.