For me it works like this:
- exam - learning under mild to medium stress. Remembering capability greatly increased, forget almost everything when the stress goes down and you stop revising in your head :p
- everything else - basically take your time and don't rush things. Remember till the present day.