LeBron James is famous for being able to remember every shot he makes. There are cricketers who can tell you ball-by-ball plays from memory. Roger Federer remembers most of his matches. I have seen technical founders have an uncanny ability to 'remember' their code bases and figure out what to change. Boxers remember fights and sparring sessions in crazy detail. Mathematicians can do the same with papers they read ages ago.
I feel that memory and understanding co-evolve. The more you understand something, the better you remember it. The more knowledge you are able to memorize, the better you are able to understand and assimilate and create new ideas.
I am commenting because I have seen several smart people give this line about chess being about memory without realizing their professional expertise involves a great deal of memory too. In my experience, this is probably because when kids play chess, there is always this one kid trying to memorize opening and dazzle other people. Ultimately, those kids do not go on to become grandmasters. But yet, the people who lose to them think they lost because they did not memorize an opening.