My old 2ds has this error randomly occur while I'm playing shin megami tensei IV: Apocalypse. It did so too on the regular Shin megami tensei IV, but it was somewhat rare.
It's completely random as far as I know, but sometimes it becomes more frequent. To the point of rendering the game...