Memory is like what our brain holds as information and it gets interpreted by surrealism as shown in the artistic form of creativity. Persistence of memory was an expression to be like the opposite of rational thought and express the subconscious to different degrees.
Explanation:
Surrealism was focused on tapping into the unconscious mind to release creativity. I think this is what is seen in surrealism expression.