While having perfect memory you still need to be able to apply that knowledge.
Someone who can perfectly recall a whole medical book does not make him/her a great doctor. Same for lawyers or any other "bookworm" professions.
But to answer your question, I would think a politician. You will look smart and in debates you can always recall your opponents voting history, statements,...