Ecclesiastes 9:5 has been used to suggest that the dead have no memory or the suggest that the dead are forgotten by others, and a variety of interpretations in between. A sampling of translations shows some of the nuance that it applied to the last clause (in English) of the verse:
For the living know that they will die; but the dead do not know anything, nor do they have a reward any longer, for their memory is forgotten. (NASB)
For the living know that they shall die: but the dead know not any thing, neither have they any more a reward; for the memory of them is forgotten. (KJV)
The living at least know they will die, but the dead know nothing. They have no further reward, nor are they remembered.(NLT)
For the living know that they will die, but the dead do not know anything; they have no further reward—and even the memory of them disappears (NET)
Whose memory? The critical word is זִכְרָֽם׃; by comparison to Deuteronomy 32:36 (same word is used) it appears that the focus here is that those who are living will forget those who have died.
But I have seen this verse used to suggest that the dead do not remember.
In colloquial terms, is the verse saying:
A. After you die your memory of life will be lost
B. Your fame in life is unimportant because it will be forgotten by others after you are gone
C. Something else
Question: Do the dead forget or will the dead be forgotten?
*I found several posts addressing the meaning of Ecclesiastes 9:5, but none (that remain open) addressing the question about memory cited here.