Memory or recollection — information or experiences stored in the mind; a remembrance.
子どものころの記憶は曖昧だ。
My memories from childhood are vague.
写真を見ると当時の記憶がよみがえる。
Looking at the photos brings back memories of that time.
彼の顔は記憶に残っているが、名前が思い出せない。
I remember his face, but I can't recall his name.
In computing: memory or storage — the area or device used to store and retain data (e.g., RAM, storage devices).
パソコンの記憶容量が足りなくなったので、外付けHDDを買った。
My PC ran out of storage, so I bought an external HDD.
このプログラムは大量の記憶を必要とする。
This program requires a large amount of memory.