It is an old bug. i know it for years but decided to share here:
if you build like ~70+ nuke subs and order nuke missile production in them game will start stuttering, the more subs you make - the worse situation will go. at amounts of 200 subs+ game usually freeze forever or crash.
I think that perfomance issue is related to the timer of missile production which is placed near sub.