If you want to memorize sheet music, or even just play it better, it's best to practice it over and over and over. You can do this in many ways: take one measure/line/page at a time, starting slowly, and play it repeatedly until you feel more confident about it. Your muscle memory will also improve.