Being forgetful of your nature is the root cause of all problems and suffering in life. But the very remembrance of your nature, which is godliness, brings freedom.
Here memory is your best friend. The purpose of knowledge is to remind you of your true nature. In the Bhagwad Gita, Arjuna said to Krishna, “My memory is back. Now I have realized my true nature and will do as you say.”
Memory is a blessing and is your best friend when it helps you realize your true nature. Memory is a hindrance when it does not let you be free of events, pleasant or unpleasant.
Pleasant events create cravings and competition in the mind and do not allow fresh experiences. Unpleasant events bias perception and create paranoia.
So, memory is both a blessing and a hindrance depending on whether you remember your nature or whether you are stuck with events in time and space.