Actually, Un Sospiro is one of the easiest pieces ever to memorise, because it is super-repetitive and if you can see where the melody is, and what pattern the harmony takes, you're most the way there.
That's how I did it - I just worked that out in each section.