Ritalin can have a positive effect on memory performance.

https://recoverypartnernetwork.com/drug/stimulants/methylphenidate-addiction