"after using lunesta for a couple of years the effect began diminishing. my doctor prescribed ambien cr. it has worked perfectly for my chronic insomnia. i have experienced the memory loss. several times i have sent emails and when i get replies i do not have any memories of what i wrote or of sending the email. but i did get very deep sleep, so i learned to stay off the computer after taking a pill."