想着想着就忘了
[xiăng zhe xiăng zhe jiù wàng le]
It suggests that while one might be contemplating something deeply (often something important or emotional), they may suddenly forget it in the process. It conveys an ephemeral nature to certain thoughts or memories.