I watched Memento and was fascinated by the setting and plot, and then I stumbled on a short film in which a lady judge is talking with a criminal man who has committed a crime.
Towards the end of the film, we discover that the man has short-term memory loss. We find out that the lady judge is the daughter of a victim that was killed by the criminal.
The man doesn't know that he has this condition, and by the time the judge confronts him with her identity, the man's memory has already been "re-set", and he has forgotten what has happened during the trial. He seems to be confused about where he is and why he is there. The judge is disappointed that she didn't get to see him confronted with his crime.
We somehow know that the trial has been repeated many times (maybe over a span of years, I am not sure).
I don't remember any other characters in the film. If there were other characters, their role was very minimal. The trial takes place in a small room, and we can see the judge and the criminal talking. No other persons are seen talking.
The film is set in a sci-fi setting. The language spoken is English. I can't recall which year the film is made, but I saw it around 2010-2015 (but the film could have been made before 2010).
I tried Google, and posted on Reddit, but no answer has been provided yet.
I even asked ChatGPT, but none of the answers provided was even close.