I am proposing some tips for learning jazz repertoire by heart. This is my method, it works quite well for me, even though my memory is not exceptional at all.
In the article, you will also find two improvisation tutorials based on the songs "Take the A Train" and "Autumn Leaves".
https://www.leoravera.it/2018/06/03/come-imparare-memoria-gli-standard-jazz/
Let me know what you think, thanks!