encyclopedic knowledge and strong memory
Describes a person who has read widely and remembers what they have learned. Often used as a compliment for a well-read, knowledgeable person.
He has encyclopedic knowledge and a strong memory, and can answer any question immediately.