忆起 is more literary than the everyday
想起 ("to recall"). The
忆 morpheme is heavier and more poetic - the same root as in
回忆 (memories) and
追忆 (to reminisce). For ordinary spoken "I just remembered", use
想起来 instead; reserve
忆起 for written or reflective contexts.