In the resurrection, we will not suffer the limitations of memory which we have in mortality. Our personal computers will be able to find files much better than they do now. There is scientific and anecdotal evidence that the brain stores everything which happens to us in our lives. Our inability to recall certain events does not mean the information is not there.
Neurosurgical experiments, done on awake patients, have shown that electrical stimulation to different portions of the brain can stimulate the recall of events in the subject's life that had long since been forgotten. The experiments bring the memories back with the same vividness as if the events took place yesterday. Placing the electrical stimulation on different portions of the human cerebral cortex will produce the recall of different events, suggesting that all events in one's life are recorded somewhere in the brain.
We commonly hear of people who believed they were about to die say, "my life flashed before my eyes." How could these memories flash into one's consciousness if they were not already stored in the brain? If this is the case, and the scripture suggests it is so, we would be wise to repent of those things which we do not want to remember at that day. Then we will be as the righteous who shall have a perfect knowledge of their enjoyment, and their righteousness (2 Nephi 9:14).
John Taylor
"God has made each man a register within himself, and each man can read his own register, so far as he enjoys his perfect faculties. This can be easily comprehended.
"…Let your memories run back, and you can remember the time when you did a good action, you can remember the time when you did a bad action; the thing is printed there, and you can bring it out and gaze upon it whenever you please.
"…Man sleeps the sleep of death, but the spirit lives where the record of his deeds is kept--that does not die--man cannot kill it; there is no decay associated with it, and it still retains in all its vividness the remembrance of that which transpired before the separation by death of the body and the ever-living spirit. Man sleeps for a time in the grave, and by-and-by he rises again from the dead and goes to judgment; and then the secret thoughts of all men are revealed before Him with whom we have to do; we cannot hide them; it would be in vain for a man to say then, I did not do so-and-so; the command would be, Unravel and read the record which he has made of himself, and let it testify in relation to these things, and all could gaze upon it. If a man has acted fraudulently against his neighbor--has committed murder, or adultery, or any thing else, and wants to cover it up, that record will stare him in the face, he tells the story himself, and bears witness against himself. It is written that Jesus will judge not after the sight of the eye, or after the hearing of the ear, but with righteousness shall he judge the poor, and reprove with equity the meek of the earth. It is not because somebody has seen things, or heard anything by which a man will be judged and condemned, but it is because that record that is written by the man himself in the tablets of his own mind--that record that cannot lie--will in that day be unfolded before God and angels, and those who shall sit as judges." (Journal of Discourses, pp. 77-9)
Orson Pratt
"In this life there are many things that people, whether righteous or wicked, forget. Our memories are so weak that many things done in years passed are obliterated; but when they come forth in the morning of the resurrection, the wicked as well as the righteous, their memories will be restored, so that every act of their lives, whether good or evil, will be perfectly remembered, and the wicked will have a perfect knowledge of all their guilt. Will not this be sufficient to create an unquenchable fire in their breasts, and with this recollection, to behold the face of the Lord? Will not this cause them to shrink from his presence? I think it will." (Journal of Discourses, vol. 16, p. 331)